Package org.exolab.adaptx.net
Class URILocation
java.lang.Object
org.exolab.adaptx.net.URILocation
- Direct Known Subclasses:
ObjectURILocation
,URILocationImpl
An interface for handling URIs
- 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.
-