org.crsh.vfs
Class Path

java.lang.Object
  extended by org.crsh.vfs.Path
All Implemented Interfaces:
Iterable<String>

public final class Path
extends Object
implements Iterable<String>

Version:
$Revision$
Author:
Julien Viet

Method Summary
 boolean equals(Object o)
           
static Path get(Path parent, String name, boolean dir)
           
static Path get(String s)
           
 String getName()
           
 int getSize()
           
 String getValue()
           
 int hashCode()
           
 boolean isDir()
           
 Iterator<String> iterator()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

get

public static Path get(Path parent,
                       String name,
                       boolean dir)

get

public static Path get(String s)

iterator

public Iterator<String> iterator()
Specified by:
iterator in interface Iterable<String>

getSize

public int getSize()

isDir

public boolean isDir()

getName

public String getName()

equals

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

getValue

public String getValue()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 eXo Platform SAS. All Rights Reserved.