public static enum FileUtil.Location extends Enum<FileUtil.Location>
| Enum Constant and Description | 
|---|
CLASS_RESOURCE
Load a class resource 
 | 
CLASSLOADER_RESOURCE
Load a resource from the classpath 
 | 
CONTEXT_RESOURCE  | 
FILESYSTEM
Load from the filesystem. 
 | 
URL
Load a resource identified by an URI 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static FileUtil.Location | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static FileUtil.Location[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final FileUtil.Location FILESYSTEM
public static final FileUtil.Location CONTEXT_RESOURCE
public static final FileUtil.Location CLASS_RESOURCE
public static final FileUtil.Location CLASSLOADER_RESOURCE
public static final FileUtil.Location URL
public static FileUtil.Location[] values()
for (FileUtil.Location c : FileUtil.Location.values()) System.out.println(c);
public static FileUtil.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 nullCopyright © 2021. All rights reserved.