Changeset 10100 for trunk/gsdl3/src
- Timestamp:
- 2005-06-15T13:18:01+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/util/GSFile.java
r9874 r10100 45 45 public class GSFile { 46 46 47 static public String dtdDir(String gsdl3_home) {48 return gsdl3_home + File.separatorChar + "resources" +49 File.separatorChar + "dtd";50 }51 47 /** site config file path */ 52 48 static public String siteConfigFile(String site_home) { … … 196 192 197 193 static public String siteHome(String gsdl3_home, String site_name) { 198 return gsdl3_home + File.separatorChar + "web" + 199 File.separatorChar + "sites" + 194 return gsdl3_home + File.separatorChar + "sites" + 200 195 File.separatorChar +site_name; 201 196 } … … 203 198 static public String interfaceHome(String gsdl3_home, 204 199 String interface_name) { 205 return gsdl3_home + File.separatorChar + "web" + 206 File.separatorChar + "interfaces" + 200 return gsdl3_home + File.separatorChar + "interfaces" + 207 201 File.separatorChar + interface_name; 208 202 } … … 280 274 } 281 275 282 /** returns the path to the stylesheet used to transform config file283 * format statements*/284 public static String configFileFormatStylesheet() {285 URL url = ClassLoader.getSystemResource("config_format.xsl");286 if (url == null) {287 return "";288 }289 return url.getFile();290 }291 276 292 277 /** base directory for phind data */
Note:
See TracChangeset
for help on using the changeset viewer.