Compression
.@Deprecated public static enum TextIO.CompressionType extends java.lang.Enum<TextIO.CompressionType>
Enum Constant and Description |
---|
AUTO
Deprecated.
|
BZIP2
Deprecated.
|
DEFLATE
Deprecated.
|
GZIP
Deprecated.
|
UNCOMPRESSED
Deprecated.
|
ZIP
Deprecated.
|
ZSTD
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.lang.String filename)
Deprecated.
|
static TextIO.CompressionType |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static TextIO.CompressionType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextIO.CompressionType AUTO
Compression.AUTO
public static final TextIO.CompressionType UNCOMPRESSED
Compression.UNCOMPRESSED
public static final TextIO.CompressionType GZIP
Compression.GZIP
public static final TextIO.CompressionType BZIP2
Compression.BZIP2
public static final TextIO.CompressionType ZIP
Compression.ZIP
public static final TextIO.CompressionType ZSTD
Compression.ZSTD
public static final TextIO.CompressionType DEFLATE
Compression.DEFLATE
public static TextIO.CompressionType[] values()
for (TextIO.CompressionType c : TextIO.CompressionType.values()) System.out.println(c);
public static TextIO.CompressionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean matches(java.lang.String filename)
Compression.matches(java.lang.String)