Class URL
java.lang.Object
com.codename1.io.URL
This class provides a similar API to
URL making it almost into a "drop in" replacement.
It is placed in a different package because it is incompatible to URL by definition. It is useful
in getting some simple code to work without too many changes-
Constructor Details
-
URL
- Throws:
URISyntaxException
-
-
Method Details
-
getQuery
-
getPath
-
getUserInfo
-
getAuthority
-
getPort
public int getPort() -
getDefaultPort
public int getDefaultPort() -
getProtocol
-
getHost
-
getFile
-
equals
-
hashCode
-
sameFile
-
toString
-
toExternalForm
-
toURI
- Throws:
URISyntaxException
-
openConnection
- Throws:
IOException
-
openStream
- Throws:
IOException
-