1 package de.jwi.servletutil; 2 3 24 25 26 27 28 34 public class RealPath 35 { 36 private boolean isHttpPath; 37 private String realPath; 38 private String context; 39 40 public static final boolean ISHTTPPATH = true; 41 42 public static final boolean ISFILEPATH = false; 43 44 45 public String getContext() 46 { 47 return context; 48 } 49 public boolean isHttpPath() 50 { 51 return isHttpPath; 52 } 53 public String getRealPath() 54 { 55 return realPath; 56 } 57 58 public RealPath(boolean isHttpPath, String realPath, String context) 59 { 60 this.isHttpPath = isHttpPath; 61 this.realPath = realPath; 62 this.context = context; 63 } 64 65 66 } 67 | Popular Tags |