public static enum FileResource.Type extends java.lang.Enum<FileResource.Type>
Enum Constant and Description |
---|
BZIP2
File from file system with on-the-fly BZIP2 decompression
|
FILE
Plain file from OS accessible file system.
|
GZIP
File from file system with on-the-fly GZIP decompression
|
URL
File from URL (http, https, ftp, ...)
|
Modifier and Type | Method and Description |
---|---|
static FileResource.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileResource.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileResource.Type FILE
public static final FileResource.Type URL
public static final FileResource.Type GZIP
public static final FileResource.Type BZIP2
public static FileResource.Type[] values()
for (FileResource.Type c : FileResource.Type.values()) System.out.println(c);
public static FileResource.Type 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