Enum UnTar.Compression
- java.lang.Object
-
- java.lang.Enum<UnTar.Compression>
-
- fr.ens.biologie.genomique.aozan.aozan3.util.UnTar.Compression
-
- All Implemented Interfaces:
Serializable
,Comparable<UnTar.Compression>
- Enclosing class:
- UnTar
public static enum UnTar.Compression extends Enum<UnTar.Compression>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnTar.Compression
valueOf(String name)
Returns the enum constant of this type with the specified name.static UnTar.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 UnTar.Compression NONE
-
AUTO
public static final UnTar.Compression AUTO
-
GZIP
public static final UnTar.Compression GZIP
-
BZIP2
public static final UnTar.Compression BZIP2
-
XZ
public static final UnTar.Compression XZ
-
-
Method Detail
-
values
public static UnTar.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 (UnTar.Compression c : UnTar.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 UnTar.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
-
-