Klasse java.net.URL | 1.0 |
java.lang.Object | +--java.net.URL
Konstruktoren | |
---|---|
public | URL(String spec) |
public | URL(URL context, String spec) |
public | URL(URL context, String spec, URLStreamHandler handler) |
public | URL(String protocol, String host, String file) |
public | URL(String protocol, String host, int port, String file) |
public | URL(String protocol, String host, int port, String file, URLStreamHandler handler) |
Methoden | |
---|---|
public boolean | equals(Object obj) |
public String | getAuthority() |
public final Object | getContent() |
public final Object | getContent(Class[] classes) |
public int | getDefaultPort() |
public String | getFile() |
public String | getHost() |
public String | getPath() |
public int | getPort() |
public String | getProtocol() |
public String | getQuery() |
public String | getRef() |
public String | getUserInfo() |
public int | hashCode() |
public URLConnection | openConnection() |
public final InputStream | openStream() |
public boolean | sameFile(URL other) |
protected void | set(String protocol, String host, int port, String file, String ref) |
protected void | set(String protocol, String host, int port, String authority, String userinfo, String path, String query, String ref) |
public static synchronized void | setURLStreamHandlerFactory(URLStreamHandlerFactory fac) |
public String | toExternalForm() |
public String | toString() |