org.exolab.castor.net.util
Class URILocationImpl
public final class URILocationImpl
An implementation of URILocation
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:39 $
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.
|
URILocationImpl
public URILocationImpl(InputStream is,
String href)
Creates a new URILocationImpl
URILocationImpl
public URILocationImpl(Reader reader,
String href)
Creates a new URILocationImpl
URILocationImpl
public URILocationImpl(String href)
Creates a new URILocationImpl
URILocationImpl
public URILocationImpl(String href,
String documentBase)
Creates a new URILocationImpl
getAbsoluteURI
public String getAbsoluteURI()
Returns the absolute URI for this URILocation
- getAbsoluteURI in interface URILocation
- the absolute URI for this URILocation
getRelativeURI
, getBaseURI
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.
- getBaseURI in interface URILocation
- the base location of this URILocation
getAbsoluteURI
, getRelativeURI
getReader
public Reader getReader()
throws java.io.IOException
Returns a Reader for the resource represented
by this URILocation.
- getReader in interface URILocation
- a Reader for the resource represented by
this URILocation
getRelativeURI
public String getRelativeURI()
Returns the relative URI for this URILocation
- getRelativeURI in interface URILocation
- the relative URI for this URILocation
getAbsoluteURI
, getBaseURI
toString
public String toString()
Returns the String representation of
this URILocation.
- toString in interface URILocation
- the String representation of this URILocation
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com