| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.exolab.castor.net.URILocationorg.exolab.castor.net.util.URILocationImplpublic final class URILocationImplextends URILocationConstructor Summary | |
| |
| |
| |
| |
Method Summary | |
String |
|
String |
|
Reader |
|
String |
|
String |
|
Methods inherited from class org.exolab.castor.net.URILocation | |
getAbsoluteURI, getBaseURI, getReader, getRelativeURI, toString | |
public URILocationImpl(InputStream is,
String href)Creates a new URILocationImpl
public URILocationImpl(Reader reader,
String href)Creates a new URILocationImpl
public URILocationImpl(String href)
Creates a new URILocationImpl
public URILocationImpl(String href,
String documentBase)Creates a new URILocationImpl
public String getAbsoluteURI()
Returns the absolute URI for this URILocation
- Overrides:
- getAbsoluteURI in interface URILocation
- Returns:
- the absolute URI for this URILocation
- See Also:
getRelativeURI,getBaseURI
public String getBaseURI()
Returns the base location of this URILocation. If this URILocation is an URL, the base location will be equivalent to the document base for the URL.
- Overrides:
- getBaseURI in interface URILocation
- Returns:
- the base location of this URILocation
- See Also:
getAbsoluteURI,getRelativeURI
public Reader getReader()
throws java.io.IOExceptionReturns a Reader for the resource represented by this URILocation.
- Overrides:
- getReader in interface URILocation
- Returns:
- a Reader for the resource represented by this URILocation
public String getRelativeURI()
Returns the relative URI for this URILocation
- Overrides:
- getRelativeURI in interface URILocation
- Returns:
- the relative URI for this URILocation
- See Also:
getAbsoluteURI,getBaseURI
public String toString()
Returns the String representation of this URILocation.
- Overrides:
- toString in interface URILocation
- Returns:
- the String representation of this URILocation