public enum ECompressionType extends Enum<ECompressionType> implements com.helger.commons.id.IHasID<String>
| Enum Constant and Description |
|---|
ZLIB
Use ZLIB compression.
|
| Modifier and Type | Method and Description |
|---|---|
abstract org.bouncycastle.operator.OutputCompressor |
createOutputCompressor() |
static ECompressionType |
getFromIDCaseInsensitiveOrNull(String sID) |
String |
getID() |
static ECompressionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECompressionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECompressionType ZLIB
public static ECompressionType[] values()
for (ECompressionType c : ECompressionType.values()) System.out.println(c);
public static ECompressionType 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 null@Nonnull @Nonempty public String getID()
getID in interface com.helger.commons.id.IHasID<String>@Nonnull public abstract org.bouncycastle.operator.OutputCompressor createOutputCompressor()
OutputCompressor instance suitable for this compression
type.@Nullable public static ECompressionType getFromIDCaseInsensitiveOrNull(@Nullable String sID)
Copyright © 2013–2022 Philip Helger. All rights reserved.