| |
|
| java.lang.Object org.tmatesoft.svn.core.SVNNodeKind
SVNNodeKind | final public class SVNNodeKind implements Comparable(Code) | | The SVNNodeKind class is used to describe the kind of a
directory entry (node, in other words). This can be:
- a directory - the node is a directory
- a file - the node is a file
- none - the node is missing (does not exist)
- unknown - the node kind can not be recognized
version: 1.1.1 author: TMate Software Ltd. See Also: SVNDirEntry |
NONE | final public static SVNNodeKind NONE(Code) | | This node kind is used to say that a node is missing
|
UNKNOWN | final public static SVNNodeKind UNKNOWN(Code) | | This node kind is used to say that the kind of a node is
actually unknown
|
compareTo | public int compareTo(Object o)(Code) | | Compares this object with another one.
Each SVNNodeKind constant has got its own unique id.
Parameters: o - an object to compare with - -1 - if
o is either null,or is not an instance of SVNNodeKind, or the id ofthis object is smaller than the id of o ; - 1 - if the id of this object is bigger than the id of
o ; - 0 - if and only if
o is the same constant value as this one (has the same id)
|
parseKind | public static SVNNodeKind parseKind(String kind)(Code) | | Parses the passed string and finds out the node kind. For instance,
parseKind("dir") will return
SVNNodeKind.DIR .
Parameters: kind - a node kind as a string an SVNNodeKind representation |
toString | public String toString()(Code) | | Represents the current SVNNodeKind object as a string.
a string representation of this object. |
|
|
|