public static enum FileUtils.OpenFileResult extends java.lang.Enum<FileUtils.OpenFileResult>
| Enum Constant and Description | 
|---|
| CANT_CREATEThe file could not be opened because it did not exist and could not be created | 
| CANT_WRITEThe file can be opened but in read-only | 
| FAILUREThe file could not be opened, for non-specified reasons | 
| NOT_FILEThe specified path pointed to a non-file filesystem object, ie a directory | 
| SUCCESSThe file was successfully opened | 
| Modifier and Type | Method and Description | 
|---|---|
| static FileUtils.OpenFileResult | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static FileUtils.OpenFileResult[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final FileUtils.OpenFileResult SUCCESS
public static final FileUtils.OpenFileResult FAILURE
public static final FileUtils.OpenFileResult CANT_CREATE
public static final FileUtils.OpenFileResult CANT_WRITE
public static final FileUtils.OpenFileResult NOT_FILE
public static FileUtils.OpenFileResult[] values()
for (FileUtils.OpenFileResult c : FileUtils.OpenFileResult.values()) System.out.println(c);
public static FileUtils.OpenFileResult valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null