public final class SVNNodeKind
extends java.lang.Object
implements java.lang.Comparable, java.io.Serializable
SVNDirEntry
,
Serialized FormModifier and Type | Field and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o)
Compares this object with another one.
|
int |
getID() |
static SVNNodeKind |
getNodeKindById(int id) |
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.
|
public static final SVNNodeKind NONE
public static final SVNNodeKind FILE
public static final SVNNodeKind DIR
public static final SVNNodeKind UNKNOWN
public static SVNNodeKind getNodeKindById(int id)
public static SVNNodeKind parseKind(java.lang.String kind)
parseKind("dir")
will return
DIR
.kind
- a node kind as a stringpublic 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 witho
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)
public int getID()
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.