Public Member Functions

org.exolab.castor.net.util.URILocationImpl Class Reference

Inheritance diagram for org.exolab.castor.net.util.URILocationImpl:
org.exolab.castor.net.URILocation

List of all members.

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 ()

Detailed Description

An implementation of URILocation

Author:
Keith Visco
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:08:39

Constructor & Destructor Documentation

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


Member Function Documentation

String org.exolab.castor.net.util.URILocationImpl.getAbsoluteURI (  )  [virtual]

Returns the absolute URI for this URILocation

Returns:
the absolute URI for this URILocation
See also:
getRelativeURI
getBaseURI

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.

Returns:
the base location of this URILocation
See also:
getAbsoluteURI
getRelativeURI

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.

Returns:
a Reader for the resource represented by this URILocation
Exceptions:
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

Returns:
the relative URI for this URILocation
See also:
getAbsoluteURI
getBaseURI

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.

Returns:
the String representation of this URILocation

Reimplemented from org.exolab.castor.net.URILocation.

References org.exolab.castor.net.util.URILocationImpl.getAbsoluteURI().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties