org.apache.jetspeed.util
Class Path

java.lang.Object
  extended byorg.apache.jetspeed.util.Path
All Implemented Interfaces:
Serializable

public class Path
extends Object
implements Serializable

See Also:
Serialized Form

Field Summary
private  String baseName
           
private  String fileExtension
           
private  String fileName
           
private  String path
           
static String PATH_SEPERATOR
           
private  String pathOnly
           
private  String queryString
           
private  String[] segments
           
 
Constructor Summary
Path(String path)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getBaseName()
           
 String getFileExtension()
           
 String getFileName()
           
 String getQueryString()
           
 String getSegment(int i)
           
 Path getSubPath(int beginAtSegment)
           
 int hashCode()
           
 int length()
           
 String pathOnly()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

PATH_SEPERATOR

public static final String PATH_SEPERATOR
See Also:
Constant Field Values

path

private final String path

segments

private final String[] segments

fileName

private final String fileName

baseName

private final String baseName

fileExtension

private final String fileExtension

queryString

private final String queryString

pathOnly

private final String pathOnly
Constructor Detail

Path

public Path(String path)
Method Detail

getSegment

public String getSegment(int i)

getSubPath

public Path getSubPath(int beginAtSegment)

getBaseName

public String getBaseName()

getFileExtension

public String getFileExtension()

getFileName

public String getFileName()

getQueryString

public String getQueryString()

length

public int length()

toString

public String toString()

pathOnly

public String pathOnly()

equals

public boolean equals(Object obj)

hashCode

public int hashCode()


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.