Changeset 10006 for trunk/gli/src/org/greenstone/gatherer/cdm
- Timestamp:
- 2005-06-03T14:36:41+12:00 (19 years ago)
- Location:
- trunk/gli/src/org/greenstone/gatherer/cdm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/cdm/CollectionConfiguration.java
r9908 r10006 326 326 String collect_config_name = collect_config_file.getName(); 327 327 if(collect_config_name.equals(COLLECTCONFIGURATION_XML)) { 328 // Parse with Utility but don't use class loader329 328 document = XMLTools.parseXMLFile(collect_config_file); 330 329 } 331 330 // Otherwise if this is a legacy collect.cfg file then read in the template and send to magic parser 332 331 else if(collect_config_name.equals(COLLECT_CFG)) { 333 document = Utility.parse(PSEUDO_COLLECTCONFIGURATION_XML, true);332 document = XMLTools.parseXMLFile("xml/CollectionConfig.xml", true); 334 333 parse(collect_config_file); 335 334 } -
trunk/gli/src/org/greenstone/gatherer/cdm/LanguageManager.java
r9564 r10006 44 44 import org.greenstone.gatherer.gui.GLIButton; 45 45 import org.greenstone.gatherer.util.Utility; 46 import org.greenstone.gatherer.util.XMLTools; 46 47 import org.w3c.dom.*; 47 48 … … 53 54 extends DOMProxyListModel { 54 55 55 static public Document LANGUAGES_DOCUMENT = Utility.parse("xml/languages.xml", true);56 static public Document LANGUAGES_DOCUMENT = XMLTools.parseXMLFile("xml/languages.xml", true); 56 57 57 58 static final private Dimension COMPONENT_SIZE = new Dimension(125,25);
Note:
See TracChangeset
for help on using the changeset viewer.