|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.net.URILocation
org.exolab.castor.net.util.URILocationImpl
public final class URILocationImpl
An implementation of URILocation
| Constructor Summary | |
|---|---|
URILocationImpl(InputStream is,
String href)
Creates a new URILocationImpl |
|
URILocationImpl(Reader reader,
String href)
Creates a new URILocationImpl |
|
URILocationImpl(String href)
Creates a new URILocationImpl |
|
URILocationImpl(String href,
String documentBase)
Creates a new URILocationImpl |
|
| Method Summary | |
|---|---|
String |
getAbsoluteURI()
Returns the absolute URI for this URILocation |
String |
getBaseURI()
Returns the base location of this URILocation. |
Reader |
getReader()
Returns a Reader for the resource represented by this URILocation. |
String |
getRelativeURI()
Returns the relative URI for this URILocation |
String |
toString()
Returns the String representation of this URILocation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public URILocationImpl(String href)
public URILocationImpl(String href,
String documentBase)
public URILocationImpl(Reader reader,
String href)
public URILocationImpl(InputStream is,
String href)
| Method Detail |
|---|
public String getAbsoluteURI()
getAbsoluteURI in class URILocationgetRelativeURI(),
getBaseURI()public String getBaseURI()
getBaseURI in class URILocationgetAbsoluteURI(),
getRelativeURI()
public Reader getReader()
throws IOException
getReader in class URILocationFileNotFoundException
IOExceptionpublic String getRelativeURI()
getRelativeURI in class URILocationgetAbsoluteURI(),
getBaseURI()public String toString()
toString in class URILocation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||