src/main/java/de/uapcore/lightpit/Functions.java

changeset 45
cc7f082c5ef3
parent 34
824d4042c857
child 47
57cfb94ab99f
equal deleted inserted replaced
44:835dd169642a 45:cc7f082c5ef3
50 return filename.endsWith(ext) ? filename : filename + ext; 50 return filename.endsWith(ext) ? filename : filename + ext;
51 } 51 }
52 52
53 public static String jspPath(String filename) { 53 public static String jspPath(String filename) {
54 return enforceExt(Constants.JSP_PATH_PREFIX + filename, ".jsp"); 54 return enforceExt(Constants.JSP_PATH_PREFIX + filename, ".jsp");
55 }
56
57 public static String jspfPath(String filename) {
58 return enforceExt(Constants.JSPF_PATH_PREFIX + filename, ".jspf");
59 } 55 }
60 56
61 public static String dynFragmentPath(String filename) { 57 public static String dynFragmentPath(String filename) {
62 return enforceExt(Constants.DYN_FRAGMENT_PATH_PREFIX + filename, ".jsp"); 58 return enforceExt(Constants.DYN_FRAGMENT_PATH_PREFIX + filename, ".jsp");
63 } 59 }

mercurial