Class SVNNodeKind
- java.lang.Object
-
- org.tigris.subversion.svnclientadapter.SVNNodeKind
-
public class SVNNodeKind extends java.lang.ObjectKind of a node (dir, file)
-
-
Field Summary
Fields Modifier and Type Field Description static SVNNodeKindDIRNode kind Directorystatic SVNNodeKindFILENode kind regular filestatic SVNNodeKindNONENode kind absentstatic SVNNodeKindUNKNOWNNode 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 booleanequals(java.lang.Object obj)static SVNNodeKindfromInt(int nodeKind)Returns the SVNNodeKind corresponding to the given int representation.static SVNNodeKindfromString(java.lang.String nodeKind)Returns the SVNNodeKind corresponding to the given string or nullinthashCode()inttoInt()java.lang.StringtoString()
-
-
-
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:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-