public static enum CompressedObjectStrategy.CompressionStrategy extends Enum<CompressedObjectStrategy.CompressionStrategy>
Enum Constant and Description |
---|
LZ4 |
LZF |
UNCOMPRESSED |
Modifier and Type | Method and Description |
---|---|
static CompressedObjectStrategy.CompressionStrategy |
forId(byte id) |
abstract CompressedObjectStrategy.Compressor |
getCompressor() |
abstract CompressedObjectStrategy.Decompressor |
getDecompressor() |
byte |
getId() |
static CompressedObjectStrategy.CompressionStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressedObjectStrategy.CompressionStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompressedObjectStrategy.CompressionStrategy LZF
public static final CompressedObjectStrategy.CompressionStrategy LZ4
public static final CompressedObjectStrategy.CompressionStrategy UNCOMPRESSED
public static CompressedObjectStrategy.CompressionStrategy[] values()
for (CompressedObjectStrategy.CompressionStrategy c : CompressedObjectStrategy.CompressionStrategy.values()) System.out.println(c);
public static CompressedObjectStrategy.CompressionStrategy 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 nullpublic byte getId()
public abstract CompressedObjectStrategy.Compressor getCompressor()
public abstract CompressedObjectStrategy.Decompressor getDecompressor()
public static CompressedObjectStrategy.CompressionStrategy forId(byte id)
Copyright © 2011–2015. All rights reserved.