|
ddiff Version 1.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<DirEntry.Type>
com.ehsbe.ddiff.DirEntry.Type
public static enum DirEntry.Type extends Enum<DirEntry.Type>
types of file, we distignuish.
Enum Constant and Description |
---|
DIR
entry reperesents a directory |
DIRLINK
entry reperesents a symlink to a directory |
FILE
entry reperesents a regular file |
FILELINK
entry reperesents a symlink to a regular file |
INVALID
entry represents a symlink, which points to an entity, which can not be stated |
LINKLINK
entry is a symlink, which points to another symlink |
OTHER
entry represents neither regular file nor a directory nor a symlink |
OTHERLINK
entry represents a symlink to an entry, which is neither regular file nor a directory |
UNKNOWN
the type of the entry could not be determined because entry attributes could not be obtained |
Modifier and Type | Method and Description |
---|---|
String |
toString()
|
static DirEntry.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DirEntry.Type[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final DirEntry.Type FILE
public static final DirEntry.Type FILELINK
public static final DirEntry.Type DIR
public static final DirEntry.Type DIRLINK
public static final DirEntry.Type OTHER
public static final DirEntry.Type OTHERLINK
public static final DirEntry.Type LINKLINK
public static final DirEntry.Type INVALID
public static final DirEntry.Type UNKNOWN
Method Detail |
---|
public static DirEntry.Type[] values()
for (DirEntry.Type c : DirEntry.Type.values()) System.out.println(c);
public static DirEntry.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<DirEntry.Type>
|
ddiff Version 1.0.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |