public final class IRI
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Constructor and Description |
---|
IRI(java.lang.String iri) |
IRI(java.lang.String iri,
Normalizer.Form nf) |
IRI(java.lang.String scheme,
java.lang.String userinfo,
java.lang.String host,
int port,
java.lang.String path,
java.lang.String query,
java.lang.String fragment) |
IRI(java.lang.String scheme,
java.lang.String host,
java.lang.String path,
java.lang.String fragment) |
IRI(java.lang.String scheme,
java.lang.String authority,
java.lang.String path,
java.lang.String query,
java.lang.String fragment) |
IRI(java.net.URI uri) |
IRI(java.net.URL url) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getASCIIAuthority() |
java.lang.String |
getASCIIFragment() |
java.lang.String |
getASCIIHost() |
java.lang.String |
getASCIIPath() |
java.lang.String |
getASCIIQuery() |
java.lang.String |
getASCIISchemeSpecificPart() |
java.lang.String |
getASCIIUserInfo() |
java.lang.String |
getAuthority() |
java.lang.String |
getFragment() |
java.lang.String |
getHost() |
IDNA |
getIDN() |
java.lang.String |
getPath() |
int |
getPort() |
java.lang.String |
getQuery() |
java.lang.String |
getScheme() |
java.lang.String |
getSchemeSpecificPart() |
java.lang.String |
getUserInfo() |
int |
hashCode() |
boolean |
isAbsolute() |
boolean |
isOpaque() |
boolean |
isPathAbsolute() |
boolean |
isSameDocumentReference() |
IRI |
normalize() |
static IRI |
normalize(IRI iri) |
static java.lang.String |
normalizeString(java.lang.String iri) |
static void |
preinit() |
IRI |
relativize(IRI iri) |
static IRI |
relativize(IRI b,
IRI c) |
IRI |
resolve(IRI iri) |
static IRI |
resolve(IRI b,
IRI c) |
static IRI |
resolve(IRI b,
java.lang.String c) |
IRI |
resolve(java.lang.String iri) |
java.lang.String |
toASCIIString() |
java.lang.String |
toBIDIString() |
java.lang.String |
toString() |
java.net.URI |
toURI() |
java.net.URL |
toURL() |
IRI |
trailingSlash()
Returns a new IRI with a trailing slash appended to the path, if necessary
|
public IRI(java.net.URL url)
public IRI(java.net.URI uri)
public IRI(java.lang.String iri)
public IRI(java.lang.String iri, Normalizer.Form nf) throws java.io.IOException
java.io.IOException
public IRI(java.lang.String scheme, java.lang.String userinfo, java.lang.String host, int port, java.lang.String path, java.lang.String query, java.lang.String fragment)
public IRI(java.lang.String scheme, java.lang.String authority, java.lang.String path, java.lang.String query, java.lang.String fragment)
public IRI(java.lang.String scheme, java.lang.String host, java.lang.String path, java.lang.String fragment)
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getAuthority()
public java.lang.String getFragment()
public java.lang.String getHost()
public IDNA getIDN()
public java.lang.String getASCIIHost()
public java.lang.String getPath()
public int getPort()
public java.lang.String getQuery()
public java.lang.String getScheme()
public java.lang.String getSchemeSpecificPart()
public java.lang.String getUserInfo()
public java.lang.String getASCIIAuthority()
public java.lang.String getASCIIFragment()
public java.lang.String getASCIIPath()
public java.lang.String getASCIIQuery()
public java.lang.String getASCIIUserInfo()
public java.lang.String getASCIISchemeSpecificPart()
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean isAbsolute()
public boolean isOpaque()
public boolean isPathAbsolute()
public boolean isSameDocumentReference()
public static IRI resolve(IRI b, java.lang.String c) throws java.io.IOException
java.io.IOException
public IRI normalize()
public static java.lang.String normalizeString(java.lang.String iri)
public IRI resolve(java.lang.String iri)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toASCIIString()
public java.lang.String toBIDIString()
public java.net.URI toURI() throws java.net.URISyntaxException
java.net.URISyntaxException
public java.net.URL toURL() throws java.net.MalformedURLException, java.net.URISyntaxException
java.net.MalformedURLException
java.net.URISyntaxException
public static void preinit()
public IRI trailingSlash()
Copyright © 2010 - 2020 Adobe. All Rights Reserved