org.tigris.subversion.svnclientadapter
Class SVNNodeKind

java.lang.Object
  extended by org.tigris.subversion.svnclientadapter.SVNNodeKind

public class SVNNodeKind
extends java.lang.Object

Kind of a node (dir, file)


Field Summary
static SVNNodeKind DIR
          Node kind Directory
static SVNNodeKind FILE
          Node kind regular file
static SVNNodeKind NONE
          Node kind absent
static SVNNodeKind UNKNOWN
          Node kind unknwon - something's here, but we don't know what
 
Method Summary
 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 null
 int hashCode()
           
 int toInt()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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 by toInt() 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 class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object