Changeset 12049
- Timestamp:
- 2006-07-07T09:46:00+12:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/util/GURL.java
r5785 r12049 47 47 */ 48 48 public class GURL 49 implements Cloneable,Serializable {49 implements Serializable { 50 50 51 51 private Integer type; … … 71 71 72 72 /* Static Integer identifiers for ease of use. */ 73 static public Integer INTERNAL = new Integer(0);74 static public Integer EXTERNAL = new Integer(1);73 static final public Integer INTERNAL = new Integer(0); 74 static final public Integer EXTERNAL = new Integer(1); 75 75 76 76 public GURL(String url_str) { … … 124 124 } 125 125 126 /* private String getLocalFile() {127 String local_file = getPath() + File.separator + getFile();128 // Strip msdos roots if they're still there.129 while(local_file.indexOf(":") != -1) {130 local_file = local_file.substring(0, local_file.indexOf(":")) + local_file.substring(local_file.indexOf(":") + 1);131 }132 return local_file;133 } */134 135 126 public String getPath() { 136 127 return getHost() + parsePath(url.getFile()); … … 180 171 return raw; 181 172 } 182 183 173 }
Note:
See TracChangeset
for help on using the changeset viewer.