org.exolab.castor.net
Class URILocation
java.lang.Object
org.exolab.castor.net.URILocation
public abstract class URILocation
extends java.lang.Object
An interface for handling URIs
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:39 $abstract String | getAbsoluteURI() - Returns the absolute URI for this URILocation
|
abstract String | getBaseURI() - Returns the base location of this URILocation.
|
abstract Reader | getReader() - Returns a Reader for the resource represented
by this URILocation.
|
abstract String | getRelativeURI() - Returns the relative URI for this URILocation
|
String | toString() - Returns the String representation of
this URILocation.
|
getAbsoluteURI
public abstract String getAbsoluteURI()
Returns the absolute URI for this URILocation
- the absolute URI for this URILocation
getRelativeURI
, getBaseURI
getBaseURI
public abstract 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 abstract 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 abstract 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
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com