|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nhncorp.neptune.fs.GPath
public class GPath
파일 path에 대한 URI
| Field Summary | |
|---|---|
static java.lang.String |
SEPARATOR
The directory separator, a slash. |
static char |
SEPARATOR_CHAR
|
| Constructor Summary | |
|---|---|
GPath(GPath parent,
GPath child)
Resolve a child path against a parent path. |
|
GPath(GPath parent,
java.lang.String child)
Resolve a child path against a parent path. |
|
GPath(java.lang.String pathString)
Construct a path from a String. |
|
GPath(java.lang.String parent,
GPath child)
Resolve a child path against a parent path. |
|
GPath(java.lang.String parent,
java.lang.String child)
Resolve a child path against a parent path. |
|
GPath(java.lang.String scheme,
java.lang.String authority,
java.lang.String path)
Construct a Path from components. |
|
| Method Summary | |
|---|---|
int |
compareTo(java.lang.Object o)
|
int |
depth()
Return the number of elements in this path. |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getName()
Returns the final component of this path. |
GPath |
getParent()
Returns the parent of a path or null if at root. |
int |
hashCode()
|
boolean |
isAbsolute()
True if the directory of this path is absolute. |
GPath |
suffix(java.lang.String suffix)
Adds a suffix to the final name in the path. |
java.lang.String |
toString()
|
java.net.URI |
toUri()
Convert this to a URI. |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SEPARATOR
public static final char SEPARATOR_CHAR
| Constructor Detail |
|---|
public GPath(java.lang.String parent,
java.lang.String child)
public GPath(GPath parent,
java.lang.String child)
public GPath(java.lang.String parent,
GPath child)
public GPath(GPath parent,
GPath child)
public GPath(java.lang.String pathString)
public GPath(java.lang.String scheme,
java.lang.String authority,
java.lang.String path)
| Method Detail |
|---|
public java.net.URI toUri()
public boolean isAbsolute()
public java.lang.String getName()
public GPath getParent()
public GPath suffix(java.lang.String suffix)
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparablepublic int depth()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||