|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.crsh.vfs.Path
public final class Path
| Field Summary | |
|---|---|
private boolean |
dir
. |
private static String[] |
EMPTY_STRING
. |
private String[] |
names
. |
private String |
value
. |
| Constructor Summary | |
|---|---|
private |
Path(boolean dir,
String[] names)
|
| 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()
Returns the canonical path value. |
int |
hashCode()
|
boolean |
isChildOf(Path parent)
|
boolean |
isDir()
|
Iterator<String> |
iterator()
|
private static String[] |
parseNames(String s,
int prev,
int end,
int count)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final String[] EMPTY_STRING
private final boolean dir
private final String[] names
private String value
| Constructor Detail |
|---|
private Path(boolean dir,
String[] names)
| Method Detail |
|---|
public static Path get(Path parent,
String name,
boolean dir)
public static Path get(String s)
private static String[] parseNames(String s,
int prev,
int end,
int count)
public Iterator<String> iterator()
iterator in interface Iterable<String>public int getSize()
public boolean isDir()
public String getName()
public boolean isChildOf(Path parent)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String getValue()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||