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 URILocation
getRelativeURI()
,
getBaseURI()
public String getBaseURI()
getBaseURI
in class URILocation
getAbsoluteURI()
,
getRelativeURI()
public Reader getReader() throws IOException
getReader
in class URILocation
FileNotFoundException
IOException
public String getRelativeURI()
getRelativeURI
in class URILocation
getAbsoluteURI()
,
getBaseURI()
public String toString()
toString
in class URILocation
Copyright © 2013. All rights reserved.