org.tigris.subversion.javahl

Class NodeKind


public final class NodeKind
extends java.lang.Object

Poor mans enum for svn_node_kind_t

Field Summary

static int
dir
static int
file
static int
none
static int
unknown

Method Summary

static String
getNodeKindName(int kind)
Returns the textual representation for a NodeKind

Field Details

dir

public static final int dir
Field Value:
2

file

public static final int file
Field Value:
1

none

public static final int none
Field Value:
0

unknown

public static final int unknown
Field Value:
3

Method Details

getNodeKindName

public static final String getNodeKindName(int kind)
Returns the textual representation for a NodeKind
Parameters:
kind - kind of node
Returns:
english text