java.net

The package java.net supports the URL class and the MalformedURLException only. The following table shows the methods supported by the URL class.

URL

Table B.90. Methods of the Class URL
Method Availability in PDAP
URL(String spec) Available in PDAP.
URL(String protocol, String host, int port, String file) Available in PDAP.
URL(String protocol, String host, int port, String file, URLStreamHandler handler) Not available in PDAP.
URL(String protocol, String host, String file) Available in PDAP.
URL(URL context, String spec) Available in PDAP.
URL(URL context, String spec, URLStreamHandler handler) Not available in PDAP.
boolean equals(Object obj) Available in PDAP.
String getAuthority() Available in PDAP.
Object getContent() Not available in PDAP.
Object getContent(Class[] classes) Not available in PDAP.
String getFile() Available in PDAP.
String getHost() Available in PDAP.
String getPath() Available in PDAP.
int getPort() Available in PDAP.
String getProtocol() Available in PDAP.
String getQuery() Available in PDAP.
String getRef() Available in PDAP.
String getUserInfo() Available in PDAP.
int hashCode() Available in PDAP.
URLConnection openConnection() Not available in PDAP.
InputStream openStream() Not available in PDAP.
boolean sameFile(URL other) Available in PDAP.
protected void set(String protocol, String host, int port, String file, String ref) Available in PDAP.
protected void set(String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref) Available in PDAP.
static void setURLStreamHandlerFactory (URLStreamHandlerFactory fac) Not available in PDAP.
String toExternalForm() Available in PDAP.
String toString() Available in PDAP.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset