org.apache.slide.common
Class UriPath

java.lang.Object
  extended byorg.apache.slide.common.UriPath

public final class UriPath
extends java.lang.Object

An URI path.

Version:
$Revision: 1.5 $

Constructor Summary
UriPath(java.lang.String uri)
           
 
Method Summary
 UriPath child(java.lang.String segment)
           
 boolean equals(java.lang.Object o)
           
 int hashCode()
           
 java.lang.String lastSegment()
           
 UriPath parent()
           
 UriPath subUriPath(int start, int end)
           
 java.lang.String[] tokens()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UriPath

public UriPath(java.lang.String uri)
Method Detail

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)

hashCode

public int hashCode()

toString

public java.lang.String toString()