|
|
java > java.net > java.net.url >
Class: java.net.URL java.lang.Object java.net.URL
public final class URL extends Object implements Serializable
FIELDS:
CONSTRUCTORS:
| | | public | URL(String protocol, String host, int port, String file) |
| | public | URL(String protocol, String host, String file) |
| | public | URL(String protocol, String host, int port, String file, URLStreamHandler handler) |
| | public | URL(String spec) |
| | public | URL(URL context, String spec) |
| | public | URL(URL context, String spec, URLStreamHandler handler) |
| |
|
|
|
METHODS:
| | | | public | boolean | equals(Object obj) Overrides: Object |
| | public | String | getAuthority() |
| | public final | Object | getContent() Throws: IOException |
| | public final | Object | getContent(Class[] classes) Throws: IOException |
| | 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() Overrides: Object |
| | public | URLConnection | openConnection() Throws: IOException |
| | public | URLConnection | openConnection(Proxy proxy) Throws: IOException Throws: SecurityException Throws: IllegalArgumentException Throws: UnsupportedOperationException |
| | public final | InputStream | openStream() Throws: IOException |
| | 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 | void | setURLStreamHandlerFactory(URLStreamHandlerFactory fac) Throws: Error Throws: SecurityException |
| | public | String | toExternalForm() |
| | public | String | toString() Overrides: Object |
| | public | URI | toURI() Throws: URISyntaxException |
| |
|
|
|
INHERITED METHODS:
| getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(), |
|
|
|
SUBCLASSES:
|
|



|