Changeset 5109
- Timestamp:
- 2003-08-07T16:27:30+12:00 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/util/GSFile.java
r4860 r5109 43 43 public class GSFile { 44 44 45 static public String dtdDir(String gsdl3_home) { 46 return gsdl3_home + File.separatorChar + "resources" + 47 File.separatorChar + "dtd"; 48 } 45 49 /** site config file path */ 46 50 static public String siteConfigFile(String site_home) { … … 69 73 70 74 } 75 /** collection init file path*/ 76 static public String collectionInitFile(String site_home, 77 String collection_name) { 78 return site_home+File.separatorChar+"collect"+ 79 File.separatorChar+collection_name+ 80 File.separatorChar+"etc"+ 81 File.separatorChar+"collectionInit.xml"; 82 83 } 71 84 72 85 /** collection build config file path*/ … … 103 116 return collectionBaseDir(site_home, collection_name) + 104 117 File.separatorChar+"building"; 118 } 119 /** collection building directory path */ 120 static public String collectionImportDir(String site_home, 121 String collection_name) { 122 return collectionBaseDir(site_home, collection_name) + 123 File.separatorChar+"import"; 105 124 } 106 125 /** collection building directory path */ … … 148 167 } 149 168 150 169 static public String siteStylesheetFile(String site_home, 170 String filename) { 171 return site_home+File.separatorChar + "transform" + 172 File.separatorChar + filename; 173 } 174 175 151 176 /** returns the absolute path to a stylesheet 152 177 * stylesheets are looked for in the following order
Note:
See TracChangeset
for help on using the changeset viewer.