Java Reference
In-Depth Information
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.
 
Search WWH ::




Custom Search