public enum InfoLocationOptions extends Enum<InfoLocationOptions>
| Enum Constant and Description |
|---|
CLASSPATH_ONLY
Try only in class path (for directory).
|
FILESYSTEM_ONLY
Try to locate in the file system only.
|
RESOURCE_ONLY
Try to locate as resource only (for file).
|
TRY_CLASSPATH_THEN_FS
Try to locate using class path as root, then in the file system (for directory).
|
TRY_FS_THEN_CLASSPATH
Try to locate in the file system first, then using class path as root (for directory).
|
TRY_FS_THEN_RESOURCE
Try to locate in the file system first, then as resource (for a file).
|
TRY_RESOURCE_THEN_FS
Try to locate as resource first, then in the file system (for a file).
|
| Modifier and Type | Method and Description |
|---|---|
static InfoLocationOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InfoLocationOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InfoLocationOptions TRY_RESOURCE_THEN_FS
public static final InfoLocationOptions TRY_FS_THEN_RESOURCE
public static final InfoLocationOptions TRY_CLASSPATH_THEN_FS
public static final InfoLocationOptions TRY_FS_THEN_CLASSPATH
public static final InfoLocationOptions FILESYSTEM_ONLY
public static final InfoLocationOptions RESOURCE_ONLY
public static final InfoLocationOptions CLASSPATH_ONLY
public static InfoLocationOptions[] values()
for (InfoLocationOptions c : InfoLocationOptions.values()) System.out.println(c);
public static InfoLocationOptions 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 © 2010–2017. All rights reserved.