Class SVNNodeKind
- java.lang.Object
-
- org.tigris.subversion.svnclientadapter.SVNNodeKind
-
public class SVNNodeKind extends java.lang.Object
Kind of a node (dir, file)
-
-
Field Summary
Fields Modifier and Type Field Description static SVNNodeKind
DIR
Node kind Directorystatic SVNNodeKind
FILE
Node kind regular filestatic SVNNodeKind
NONE
Node kind absentstatic SVNNodeKind
UNKNOWN
Node kind unknwon - something's here, but we don't know what
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static SVNNodeKind
fromInt(int nodeKind)
Returns the SVNNodeKind corresponding to the given int representation.static SVNNodeKind
fromString(java.lang.String nodeKind)
Returns the SVNNodeKind corresponding to the given string or nullint
hashCode()
int
toInt()
java.lang.String
toString()
-
-
-
Field Detail
-
NONE
public static final SVNNodeKind NONE
Node kind absent
-
FILE
public static final SVNNodeKind FILE
Node kind regular file
-
DIR
public static final SVNNodeKind DIR
Node kind Directory
-
UNKNOWN
public static final SVNNodeKind UNKNOWN
Node kind unknwon - something's here, but we don't know what
-
-
Method Detail
-
toInt
public int toInt()
- Returns:
- an integer value representation of the nodeKind
-
fromInt
public static SVNNodeKind fromInt(int nodeKind)
Returns the SVNNodeKind corresponding to the given int representation. (As returned bytoInt()
method)- Parameters:
nodeKind
-- Returns:
- SVNNodeKind representing the int value
-
fromString
public static SVNNodeKind fromString(java.lang.String nodeKind)
Returns the SVNNodeKind corresponding to the given string or null- Parameters:
nodeKind
-- Returns:
- SVNNodeKind representing the string value
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-