public static enum FSOutputStreamFactory.COMPRESSION extends Enum<FSOutputStreamFactory.COMPRESSION>
Modifier and Type | Method and Description |
---|---|
static FSOutputStreamFactory.COMPRESSION |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FSOutputStreamFactory.COMPRESSION[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FSOutputStreamFactory.COMPRESSION NONE
public static final FSOutputStreamFactory.COMPRESSION BZIP2
public static final FSOutputStreamFactory.COMPRESSION GZIP
public static final FSOutputStreamFactory.COMPRESSION ZIP
public static FSOutputStreamFactory.COMPRESSION[] values()
for (FSOutputStreamFactory.COMPRESSION c : FSOutputStreamFactory.COMPRESSION.values()) System.out.println(c);
public static FSOutputStreamFactory.COMPRESSION 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 © 2007–2017 The Apache Software Foundation. All rights reserved.