Public Member Functions | |
URILocationImpl (String href) | |
URILocationImpl (String href, String documentBase) | |
URILocationImpl (Reader reader, String href) | |
URILocationImpl (InputStream is, String href) | |
String | getAbsoluteURI () |
String | getBaseURI () |
Reader | getReader () throws java.io.IOException |
String | getRelativeURI () |
String | toString () |
An implementation of URILocation
org.exolab.castor.net.util.URILocationImpl.URILocationImpl | ( | String | href | ) |
Creates a new URILocationImpl
org.exolab.castor.net.util.URILocationImpl.URILocationImpl | ( | String | href, | |
String | documentBase | |||
) |
Creates a new URILocationImpl
org.exolab.castor.net.util.URILocationImpl.URILocationImpl | ( | Reader | reader, | |
String | href | |||
) |
Creates a new URILocationImpl
org.exolab.castor.net.util.URILocationImpl.URILocationImpl | ( | InputStream | is, | |
String | href | |||
) |
Creates a new URILocationImpl
String org.exolab.castor.net.util.URILocationImpl.getAbsoluteURI | ( | ) | [virtual] |
Returns the absolute URI for this URILocation
Implements org.exolab.castor.net.URILocation.
Referenced by org.exolab.castor.net.util.URILocationImpl.toString().
String org.exolab.castor.net.util.URILocationImpl.getBaseURI | ( | ) | [virtual] |
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.
Implements org.exolab.castor.net.URILocation.
Referenced by org.exolab.castor.net.util.URILocationImpl.getRelativeURI().
Reader org.exolab.castor.net.util.URILocationImpl.getReader | ( | ) | throws java.io.IOException [virtual] |
Returns a Reader for the resource represented by this URILocation.
java.io.FileNotFoundException | ||
java.io.IOException |
Implements org.exolab.castor.net.URILocation.
String org.exolab.castor.net.util.URILocationImpl.getRelativeURI | ( | ) | [virtual] |
Returns the relative URI for this URILocation
Implements org.exolab.castor.net.URILocation.
References org.exolab.castor.net.util.URILocationImpl.getBaseURI().
String org.exolab.castor.net.util.URILocationImpl.toString | ( | ) |
Returns the String representation of this URILocation.
Reimplemented from org.exolab.castor.net.URILocation.
References org.exolab.castor.net.util.URILocationImpl.getAbsoluteURI().