Class SVNNodeKind
java.lang.Object
org.tigris.subversion.svnclientadapter.SVNNodeKind
Kind of a node (dir, file)
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SVNNodeKindNode kind Directorystatic final SVNNodeKindNode kind regular filestatic final SVNNodeKindNode kind absentstatic final SVNNodeKindNode kind unknwon - something's here, but we don't know what -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic SVNNodeKindfromInt(int nodeKind) Returns the SVNNodeKind corresponding to the given int representation.static SVNNodeKindfromString(String nodeKind) Returns the SVNNodeKind corresponding to the given string or nullinthashCode()inttoInt()toString()
-
Field Details
-
NONE
Node kind absent -
FILE
Node kind regular file -
DIR
Node kind Directory -
UNKNOWN
Node kind unknwon - something's here, but we don't know what
-
-
Method Details
-
toInt
public int toInt()- Returns:
- an integer value representation of the nodeKind
-
fromInt
Returns the SVNNodeKind corresponding to the given int representation. (As returned bytoInt()method)- Parameters:
nodeKind-- Returns:
- SVNNodeKind representing the int value
-
fromString
Returns the SVNNodeKind corresponding to the given string or null- Parameters:
nodeKind-- Returns:
- SVNNodeKind representing the string value
-
toString
-
equals
-
hashCode
public int hashCode()
-