Changeset 2660 for vlo/branches/vlo-2.13-param/vlo_importer/src/main/java/eu/clarin/cmdi/vlo/config/VloConfig.java
- Timestamp:
- 03/07/13 09:54:21 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vlo/branches/vlo-2.13-param/vlo_importer/src/main/java/eu/clarin/cmdi/vlo/config/VloConfig.java
r2659 r2660 129 129 * @return the configuration 130 130 */ 131 public static VloConfigreadPackagedConfig() {131 public static void readPackagedConfig() { 132 132 133 133 // set the name of the packaged configuration file 134 134 String fileName = "/VloConfig"; 135 135 136 config =VloConfig.readConfig (fileName);136 VloConfig.readConfig (fileName); 137 137 138 return config;138 // return config; 139 139 } 140 140 … … 149 149 * @return the configuration 150 150 */ 151 public static VloConfigreadConfig(String fileName) {151 public static void readConfig(String fileName) { 152 152 153 153 // may it is safe to first expand the name a litte bit more … … 159 159 160 160 // get the XML file configuration from the file by invoking ... 161 config = (VloConfig) read(fileName, config); 162 163 return config; 161 read(fileName, config); 164 162 } 165 163 166 164 /** 167 165 * Read the configuration from an XML file. 166 * 167 * Move the following remarks to a general remark in the class description, 168 * a remark indicating what you could do if you do not want to use the 169 * packaged configuration. 168 170 * 169 171 * Invoke this method instead of readConfig() if you want to change … … 177 179 * container. 178 180 * 179 * @param fileName the name of the file to read the configuration from 180 * 181 * @return the configuration 182 */ 183 public static VloConfig readTestConfig(String fileName) { 184 185 config = VloConfig.readConfig (fileName); 186 187 // modify the configuration here 188 189 return config; 190 } 181 */ 191 182 192 183 /**
Note: See TracChangeset
for help on using the changeset viewer.