corda/classpath/java/net/URL.java

20 lines
491 B
Java
Raw Normal View History

2007-07-29 01:29:01 +00:00
package java.net;
public final class URL {
// private final String protocol;
// private final String host;
// private final int port;
// private final String file;
2007-07-29 01:29:01 +00:00
public URL(String s) throws MalformedURLException {
// int colon = s.indexOf(':');
// int slash = s.indexOf('/');
// if (colon > 0 && (slash < 0 || colon < slash)) {
// protocol = s.substring(0, colon);
// // todo
// } else {
// throw new MalformedURLException(s);
// }
}
2007-07-29 01:29:01 +00:00
}