Package org.codehaus.plexus.archiver.tar
Enum TarArchiver.TarCompressionMethod
- java.lang.Object
-
- java.lang.Enum<TarArchiver.TarCompressionMethod>
-
- org.codehaus.plexus.archiver.tar.TarArchiver.TarCompressionMethod
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TarArchiver.TarCompressionMethod>
- Enclosing class:
- TarArchiver
public static enum TarArchiver.TarCompressionMethod extends java.lang.Enum<TarArchiver.TarCompressionMethod>
Valid Modes for Compression attribute to Tar Task
-
-
Constructor Summary
Constructors Modifier Constructor Description privateTarCompressionMethod()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TarArchiver.TarCompressionMethodvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TarArchiver.TarCompressionMethod[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
none
public static final TarArchiver.TarCompressionMethod none
-
gzip
public static final TarArchiver.TarCompressionMethod gzip
-
bzip2
public static final TarArchiver.TarCompressionMethod bzip2
-
snappy
public static final TarArchiver.TarCompressionMethod snappy
-
xz
public static final TarArchiver.TarCompressionMethod xz
-
-
Method Detail
-
values
public static TarArchiver.TarCompressionMethod[] 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 (TarArchiver.TarCompressionMethod c : TarArchiver.TarCompressionMethod.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
-
-