public static enum FilePath.TarCompression extends Enum<FilePath.TarCompression>
| Modifier and Type | Method and Description |
|---|---|
abstract OutputStream |
compress(OutputStream in) |
abstract InputStream |
extract(InputStream in) |
static FilePath.TarCompression |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilePath.TarCompression[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilePath.TarCompression NONE
public static final FilePath.TarCompression GZIP
public static FilePath.TarCompression[] values()
for (FilePath.TarCompression c : FilePath.TarCompression.values()) System.out.println(c);
public static FilePath.TarCompression 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 abstract InputStream extract(InputStream in) throws IOException
IOExceptionpublic abstract OutputStream compress(OutputStream in) throws IOException
IOExceptionCopyright © 2019. All rights reserved.