Enum FramedSnappyDialect
- java.lang.Object
-
- java.lang.Enum<FramedSnappyDialect>
-
- org.apache.commons.compress.compressors.snappy.FramedSnappyDialect
-
- All Implemented Interfaces:
Serializable
,Comparable<FramedSnappyDialect>
public enum FramedSnappyDialect extends Enum<FramedSnappyDialect>
Dialects of the framing format thatFramedSnappyCompressorInputStream
can deal with.- Since:
- 1.12
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IWORK_ARCHIVE
The format used by Apple's iWork Archives (.iwa files).STANDARD
The standard as defined by the Snappy framing format description
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FramedSnappyDialect
valueOf(String name)
Returns the enum constant of this type with the specified name.static FramedSnappyDialect[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STANDARD
public static final FramedSnappyDialect STANDARD
The standard as defined by the Snappy framing format description
-
IWORK_ARCHIVE
public static final FramedSnappyDialect IWORK_ARCHIVE
The format used by Apple's iWork Archives (.iwa files).
-
-
Method Detail
-
values
public static FramedSnappyDialect[] 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 (FramedSnappyDialect c : FramedSnappyDialect.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FramedSnappyDialect 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
-
-