org.exolab.adaptx.net
Class URILocation
java.lang.Object
org.exolab.adaptx.net.URILocation
public abstract class URILocation
extends java.lang.Object
An interface for handling URIs
- Keith Visco
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.
|
getAbsoluteURI
public String getAbsoluteURI()
Returns the absolute URI for this 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.
- 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.
- a Reader for the resource represented by
this URILocation
getRelativeURI
public String getRelativeURI()
Returns the relative URI for this URILocation
- the relative URI for this URILocation
getAbsoluteURI
, getBaseURI
toString
public String toString()
Returns the String representation of
this URILocation.
- the String representation of this URILocation