public static enum TarArchiver.TarCompressionMethod extends Enum<TarArchiver.TarCompressionMethod>
Modifier and Type | Method and Description |
---|---|
static TarArchiver.TarCompressionMethod |
valueOf(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.
|
public static final TarArchiver.TarCompressionMethod none
public static final TarArchiver.TarCompressionMethod gzip
public static final TarArchiver.TarCompressionMethod bzip2
public static final TarArchiver.TarCompressionMethod snappy
public static final TarArchiver.TarCompressionMethod xz
public static final TarArchiver.TarCompressionMethod zstd
public static TarArchiver.TarCompressionMethod[] values()
for (TarArchiver.TarCompressionMethod c : TarArchiver.TarCompressionMethod.values()) System.out.println(c);
public static TarArchiver.TarCompressionMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2001–2022 Codehaus Plexus. All rights reserved.