dk.apaq.vfs
Class Path

java.lang.Object
  extended by dk.apaq.vfs.Path
All Implemented Interfaces:
Serializable

public class Path
extends Object
implements Serializable

Author:
michael
See Also:
Serialized Form

Constructor Summary
Path()
           
Path(Path parent, String child)
           
Path(String path)
           
 
Method Summary
 void addLevel(int index, String level)
           
 void addLevel(String level)
           
 Path clone()
           
 boolean equals(Object compareTo)
           
 String getLeaf()
           
 String getLevel(int levelindex)
           
 int getLevels()
           
 void removeLevel(int levelindex)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Path

public Path()

Path

public Path(Path parent,
            String child)

Path

public Path(String path)
Method Detail

addLevel

public void addLevel(String level)

addLevel

public void addLevel(int index,
                     String level)

removeLevel

public void removeLevel(int levelindex)

clone

public Path clone()
Overrides:
clone in class Object

getLeaf

public String getLeaf()

getLevels

public int getLevels()

getLevel

public String getLevel(int levelindex)

toString

public String toString()
Overrides:
toString in class Object

equals

public boolean equals(Object compareTo)
Overrides:
equals in class Object


Copyright © 2011. All Rights Reserved.