Changeset 7478
- Timestamp:
- 2004-05-27T15:28:58+12:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/src/java/org/greenstone/gsdl3/gs3build/CollectionManager.java
r7468 r7478 17 17 18 18 import java.net.URL; 19 import java.net.URLEncoder; 19 20 20 21 import javax.xml.parsers.*; … … 37 38 import org.greenstone.gsdl3.gs3build.util.GS3SQLConnectionFactory; 38 39 import org.greenstone.gsdl3.gs3build.util.DOMUtils; 40 import org.greenstone.gsdl3.gs3build.util.URLTools; 39 41 40 42 import org.greenstone.gsdl3.util.GSFile; 41 43 import org.greenstone.gsdl3.util.GSXML; 42 44 import org.greenstone.gsdl3.util.XMLConverter; 43 import org.greenstone.gsdl3.util.URLTools;44 45 45 46 /** … … 92 93 continue; 93 94 95 System.out.println("Path is" + parentURL.getPath()); 96 System.out.println("Host is" + parentURL.getHost()); 97 System.out.println(urlString); 98 94 99 try { 95 100 URL url = new URL(parentURL, urlString); 96 101 this.file = url; 102 System.out.println(url); 97 103 } 98 104 catch (java.net.MalformedURLException malEx) { … … 121 127 122 128 if (this.type.toLowerCase().equals("hierarchy")) { 129 System.out.println(this.file); 123 130 classifier = new HierarchyClassifier(this.className, this.file, this.fields, this.sort); 124 131 } … … 199 206 URL etcURL = null; 200 207 201 try { 202 etcURL = URLTools.getFileURL(etcFile); 203 } 204 catch (java.net.MalformedURLException malEx) { 205 System.out.println(malEx); 206 } 208 etcURL = URLTools.getFileURL(etcFile); 207 209 208 210 NodeList children = node.getChildNodes();
Note:
See TracChangeset
for help on using the changeset viewer.