org.apache.slide.common
Class UriPath
java.lang.Object
|
+--org.apache.slide.common.UriPath
- public final class UriPath
- extends java.lang.Object
An URI path.
- Version:
- $Revision: 1.3.2.1 $
- Author:
- Peter Nevermann
Constructor Summary |
UriPath(java.lang.String uri)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
UriPath
public UriPath(java.lang.String uri)
tokens
public java.lang.String[] tokens()
lastSegment
public java.lang.String lastSegment()
parent
public UriPath parent()
child
public UriPath child(java.lang.String segment)
subUriPath
public UriPath subUriPath(int start,
int end)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object