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 ...

Get Java™ 2 Micro Edition Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.