Package org.exolab.castor.net
Class URILocation
java.lang.Object
org.exolab.castor.net.URILocation
- Direct Known Subclasses:
SchemaLocation
,URILocationImpl
An interface for handling URIs
- Version:
- $Revision: 5951 $ $Date: 2005-03-05 06:42:06 -0700 (Sat, 05 Mar 2005) $
- Author:
- Keith Visco
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract String
Returns the absolute URI for this URILocationabstract String
Returns the base location of this URILocation.abstract Reader
Returns a Reader for the resource represented by this URILocation.abstract String
Returns the relative URI for this URILocationtoString()
Returns the String representation of this URILocation.
-
Constructor Details
-
URILocation
public URILocation()
-
-
Method Details
-
getAbsoluteURI
Returns the absolute URI for this URILocation- Returns:
- the absolute URI for this URILocation
- See Also:
-
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.- Returns:
- the base location of this URILocation
- See Also:
-
getReader
Returns a Reader for the resource represented by this URILocation.- Returns:
- a Reader for the resource represented by this URILocation
- Throws:
IOException
-
getRelativeURI
Returns the relative URI for this URILocation- Returns:
- the relative URI for this URILocation
- See Also:
-
toString
Returns the String representation of this URILocation.
-