| public | URL::URL(String protocol, String host, int port, String file) |
| public | URL::URL(String protocol, String host, String file) throws MalformedURLException |
| public | URL::URL(String protocol, String host, int port, String file, URLStreamHandler handler) |
| public | URL::URL(String spec) throws MalformedURLException |
| public | URL::URL(URL context, String spec) throws MalformedURLException |
| public | URL::URL(URL context, String spec, URLStreamHandler handler) |
| protected void | URL::set(String protocol, String host, int port, String file, String ref) |
| protected void | URL::set(String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) |
| public String | URL::getQuery() |
| public String | URL::getPath() |
| public String | URL::getUserInfo() |
| public String | URL::getAuthority() |
| public int | URL::getPort() |
| public String | URL::getProtocol() |
| public String | URL::getHost() |
| public String | URL::getFile() |
| public String | URL::getRef() |
| public boolean | URL::equals(Object obj) |
| public synchronized int | URL::hashCode() |
| public boolean | URL::sameFile(URL other) |
| public String | URL::toString() |
| public String | URL::toExternalForm() |
| public URLConnection | URL::openConnection() throws java.io.IOException |
| public final InputStream | URL::openStream() throws java.io.IOException |
| public final Object | URL::getContent() throws java.io.IOException |
| public final Object | URL::getContent(Class[] classes) |
| public static void | URL::setURLStreamHandlerFactory(URLStreamHandlerFactory fac) |
URL 需在网络环境使用,如 PWS 或 IIS。经测试在 PWIN98+PWS 环境下不支持“127.0.0.1”地址。