public final class URILocationImpl extends URILocation
Constructor | Description |
---|---|
URILocationImpl(java.io.InputStream is,
java.lang.String href) |
Creates a new URILocationImpl
|
URILocationImpl(java.io.Reader reader,
java.lang.String href) |
Creates a new URILocationImpl
|
URILocationImpl(java.lang.String href) |
Creates a new URILocationImpl
|
URILocationImpl(java.lang.String href,
java.lang.String documentBase) |
Creates a new URILocationImpl
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getAbsoluteURI() |
Returns the absolute URI for this URILocation
|
java.lang.String |
getBaseURI() |
Returns the base location of this URILocation.
|
java.io.Reader |
getReader() |
Returns a Reader for the resource represented
by this URILocation.
|
java.lang.String |
getRelativeURI() |
Returns the relative URI for this URILocation
|
java.lang.String |
toString() |
Returns the String representation of
this URILocation.
|
public URILocationImpl(java.lang.String href)
public URILocationImpl(java.lang.String href, java.lang.String documentBase)
public URILocationImpl(java.io.Reader reader, java.lang.String href)
public URILocationImpl(java.io.InputStream is, java.lang.String href)
public java.lang.String getAbsoluteURI()
getAbsoluteURI
in class URILocation
getRelativeURI()
,
getBaseURI()
public java.lang.String getBaseURI()
getBaseURI
in class URILocation
getAbsoluteURI()
,
getRelativeURI()
public java.io.Reader getReader() throws java.io.IOException
getReader
in class URILocation
java.io.FileNotFoundException
java.io.IOException
public java.lang.String getRelativeURI()
getRelativeURI
in class URILocation
getAbsoluteURI()
,
getBaseURI()
public java.lang.String toString()
toString
in class URILocation
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com