public static enum FileStatMode.Type extends Enum<FileStatMode.Type>
| Enum Constant and Description |
|---|
BlockDevice
Блочное устройство
|
CharDevice
Символьное устройство
|
Directory
Каталог
|
Fifo
FIFO
|
RegularFile
Обычный файл
|
Socket
Сокет
|
SymbolicLink
Символическая ссылка
|
Unknow
Неизвестный тип
|
| Modifier and Type | Method and Description |
|---|---|
static FileStatMode.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileStatMode.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileStatMode.Type Unknow
public static final FileStatMode.Type RegularFile
public static final FileStatMode.Type Directory
public static final FileStatMode.Type SymbolicLink
public static final FileStatMode.Type Socket
public static final FileStatMode.Type BlockDevice
public static final FileStatMode.Type CharDevice
public static final FileStatMode.Type Fifo
public static FileStatMode.Type[] values()
for (FileStatMode.Type c : FileStatMode.Type.values()) System.out.println(c);
public static FileStatMode.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 nullCopyright © 2017. All rights reserved.