public static enum FileReader.Error extends Enum<FileReader.Error>
| Enum Constant and Description |
|---|
EncodingError |
NotFoundError |
NotReadableError |
SecurityError |
| Modifier and Type | Method and Description |
|---|---|
static FileReader.Error |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileReader.Error[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileReader.Error NotFoundError
public static final FileReader.Error SecurityError
public static final FileReader.Error NotReadableError
public static final FileReader.Error EncodingError
public static FileReader.Error[] values()
for (FileReader.Error c : FileReader.Error.values()) System.out.println(c);
public static FileReader.Error 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 © 2015. All rights reserved.