Enum FramedLZ4CompressorOutputStream.BlockSize
- java.lang.Object
-
- java.lang.Enum<FramedLZ4CompressorOutputStream.BlockSize>
-
- org.apache.commons.compress.compressors.lz4.FramedLZ4CompressorOutputStream.BlockSize
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FramedLZ4CompressorOutputStream.BlockSize>
- Enclosing class:
- FramedLZ4CompressorOutputStream
public static enum FramedLZ4CompressorOutputStream.BlockSize extends java.lang.Enum<FramedLZ4CompressorOutputStream.BlockSize>
The block sizes supported by the format.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FramedLZ4CompressorOutputStream.BlockSize
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FramedLZ4CompressorOutputStream.BlockSize[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
K64
public static final FramedLZ4CompressorOutputStream.BlockSize K64
Block size of 64K
-
K256
public static final FramedLZ4CompressorOutputStream.BlockSize K256
Block size of 256K
-
M1
public static final FramedLZ4CompressorOutputStream.BlockSize M1
Block size of 1M
-
M4
public static final FramedLZ4CompressorOutputStream.BlockSize M4
Block size of 4M
-
-
Method Detail
-
values
public static FramedLZ4CompressorOutputStream.BlockSize[] 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 (FramedLZ4CompressorOutputStream.BlockSize c : FramedLZ4CompressorOutputStream.BlockSize.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FramedLZ4CompressorOutputStream.BlockSize valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-