java.net
Class URI
java.lang.Object
|
+--java.net.URI
- All Implemented Interfaces:
- Comparable, Serializable
- public final synchronized class URI
- extends Object
- implements Comparable, Serializable
- See Also:
- Serialized Form
Constructor Summary |
URI(String)
|
URI(String,
String,
String)
|
URI(String,
String,
String,
int,
String,
String,
String)
|
URI(String,
String,
String,
String)
|
URI(String,
String,
String,
String,
String)
|
URI
public URI(String)
throws URISyntaxException
URI
public URI(String,
String,
String,
int,
String,
String,
String)
throws URISyntaxException
URI
public URI(String,
String,
String,
String,
String)
throws URISyntaxException
URI
public URI(String,
String,
String,
String)
throws URISyntaxException
URI
public URI(String,
String,
String)
throws URISyntaxException
create
public static URI create(String)
parseServerAuthority
public URI parseServerAuthority()
throws URISyntaxException
URISyntaxException
normalize
public URI normalize()
resolve
public URI resolve(URI)
resolve
public URI resolve(String)
relativize
public URI relativize(URI)
toURL
public URL toURL()
throws MalformedURLException
MalformedURLException
getScheme
public String getScheme()
isAbsolute
public boolean isAbsolute()
isOpaque
public boolean isOpaque()
getRawSchemeSpecificPart
public String getRawSchemeSpecificPart()
getSchemeSpecificPart
public String getSchemeSpecificPart()
getRawAuthority
public String getRawAuthority()
getAuthority
public String getAuthority()
getRawUserInfo
public String getRawUserInfo()
getUserInfo
public String getUserInfo()
getHost
public String getHost()
getPort
public int getPort()
getRawPath
public String getRawPath()
getPath
public String getPath()
getRawQuery
public String getRawQuery()
getQuery
public String getQuery()
getRawFragment
public String getRawFragment()
getFragment
public String getFragment()
equals
public boolean equals(Object)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(Object)
- Specified by:
compareTo
in interface Comparable
toString
public String toString()
- Description copied from class:
Object
- Returns the empty string. It's here to satisfy javac.
- Overrides:
toString
in class Object
toASCIIString
public String toASCIIString()