org.tmatesoft.svn.core
public final class SVNNodeKind extends Object implements Comparable
Version: 1.1.1
See Also: SVNDirEntry
Field 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(Object o)
Compares this object with another one.
|
static SVNNodeKind | parseKind(String kind)
Parses the passed string and finds out the node kind. |
String | toString()
Represents the current SVNNodeKind object as a string.
|
Parameters: o an object to compare with
Returns:
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)
parseKind("dir")
will return
DIR.
Parameters: kind a node kind as a string
Returns: an SVNNodeKind representation
Returns: a string representation of this object.