com.redhat.persistence.common
Class Path

java.lang.Object
  extended bycom.redhat.persistence.common.Path

public class Path
extends Object

Path

Version:
$Revision: #14 $ $Date: 2004/04/07 $
Author:
rhs@mit.edu

Field Summary
static String versionId
           
 
Method Summary
static Path add(Path p1, Path p2)
           
static Path add(Path p1, String p2)
           
static Path add(String p1, Path p2)
           
static Path add(String p1, String p2)
           
static Path get(String path)
           
 String getName()
           
 Path getParent()
           
 String getPath()
           
 Path getRelative(Path path)
           
 boolean isAncestor(Path path)
           
static Path relative(Path base, Path descendent)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Method Detail

get

public static final Path get(String path)

add

public static final Path add(String p1,
                             String p2)

add

public static final Path add(Path p1,
                             String p2)

add

public static final Path add(String p1,
                             Path p2)

add

public static final Path add(Path p1,
                             Path p2)

relative

public static final Path relative(Path base,
                                  Path descendent)

getParent

public Path getParent()

isAncestor

public boolean isAncestor(Path path)

getRelative

public Path getRelative(Path path)

getName

public String getName()

getPath

public String getPath()

toString

public String toString()


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC