public final class URILocationImpl extends URILocation
| Constructor and Description |
|---|
URILocationImpl(InputStream is,
String href)
Creates a new URILocationImpl
|
URILocationImpl(Reader reader,
String href)
Creates a new URILocationImpl
|
URILocationImpl(String href)
Creates a new URILocationImpl
|
URILocationImpl(String href,
String documentBase)
Creates a new URILocationImpl
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAbsoluteURI()
Returns the absolute URI for this URILocation
|
String |
getBaseURI()
Returns the base location of this URILocation.
|
Reader |
getReader()
Returns a Reader for the resource represented by this URILocation.
|
String |
getRelativeURI()
Returns the relative URI for this URILocation
|
String |
toString()
Returns the String representation of this URILocation.
|
public URILocationImpl(String href)
public URILocationImpl(String href, String documentBase)
public URILocationImpl(InputStream is, String href)
public String getAbsoluteURI()
getAbsoluteURI in class URILocationgetRelativeURI(),
getBaseURI()public String getBaseURI()
getBaseURI in class URILocationgetAbsoluteURI(),
getRelativeURI()public Reader getReader() throws IOException
getReader in class URILocationFileNotFoundExceptionIOExceptionpublic String getRelativeURI()
getRelativeURI in class URILocationgetAbsoluteURI(),
getBaseURI()public String toString()
toString in class URILocationCopyright © 2016. All rights reserved.