|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.SVNNodeKind
public final class SVNNodeKind
The SVNNodeKind class is used to describe the kind of a directory entry (node, in other words). This can be:
SVNDirEntry
,
Serialized FormField Summary | |
---|---|
static SVNNodeKind |
DIR
Defines the directory node kind |
static SVNNodeKind |
FILE
Defines the file node kind |
static SVNNodeKind |
NONE
This node kind is used to say that a node is missing |
static SVNNodeKind |
UNKNOWN
This node kind is used to say that the kind of a node is actually unknown |
Method Summary | |
---|---|
int |
compareTo(java.lang.Object o)
Compares this object with another one. |
static SVNNodeKind |
parseKind(java.lang.String kind)
Parses the passed string and finds out the node kind. |
java.lang.String |
toString()
Represents the current SVNNodeKind object as a string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final SVNNodeKind NONE
public static final SVNNodeKind FILE
public static final SVNNodeKind DIR
public static final SVNNodeKind UNKNOWN
Method Detail |
---|
public static SVNNodeKind parseKind(java.lang.String kind)
parseKind("dir")
will return
DIR
.
kind
- a node kind as a string
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
o
- an object to compare with
o
is either null,
or is not an instance of SVNNodeKind, or the id of
this object is smaller than the id of o
;
o
;
o
is the same constant
value as this one (has the same id)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |