Package org.apache.tika.batch.fs
Enum FSOutputStreamFactory.COMPRESSION
- java.lang.Object
-
- java.lang.Enum<FSOutputStreamFactory.COMPRESSION>
-
- org.apache.tika.batch.fs.FSOutputStreamFactory.COMPRESSION
-
- All Implemented Interfaces:
Serializable
,Comparable<FSOutputStreamFactory.COMPRESSION>
- Enclosing class:
- FSOutputStreamFactory
public static enum FSOutputStreamFactory.COMPRESSION extends Enum<FSOutputStreamFactory.COMPRESSION>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FSOutputStreamFactory.COMPRESSION
valueOf(String name)
Returns the enum constant of this type with the specified name.static FSOutputStreamFactory.COMPRESSION[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final FSOutputStreamFactory.COMPRESSION NONE
-
BZIP2
public static final FSOutputStreamFactory.COMPRESSION BZIP2
-
GZIP
public static final FSOutputStreamFactory.COMPRESSION GZIP
-
ZIP
public static final FSOutputStreamFactory.COMPRESSION ZIP
-
-
Method Detail
-
values
public static FSOutputStreamFactory.COMPRESSION[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FSOutputStreamFactory.COMPRESSION c : FSOutputStreamFactory.COMPRESSION.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FSOutputStreamFactory.COMPRESSION valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-