public static enum ResourceLookup.Location extends Enum<ResourceLookup.Location>
Enum Constant and Description |
---|
CONTEXT_CLASS_LOADER
Resources reachable via the current thread's context class loader.
|
CURRENT_WORKING_DIRECTORY
Resources in the current working directory.
|
Modifier and Type | Field and Description |
---|---|
IResourceLocator |
locator
The locator associated with the location.
|
Modifier and Type | Method and Description |
---|---|
static ResourceLookup.Location |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceLookup.Location[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceLookup.Location CONTEXT_CLASS_LOADER
public static final ResourceLookup.Location CURRENT_WORKING_DIRECTORY
public final IResourceLocator locator
public static ResourceLookup.Location[] values()
for (ResourceLookup.Location c : ResourceLookup.Location.values()) System.out.println(c);
public static ResourceLookup.Location 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 null