|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ZlibWrapper>
org.jboss.netty.handler.codec.compression.ZlibWrapper
public enum ZlibWrapper
The container file formats that wrap the stream compressed by the DEFLATE algorithm.
| Enum Constant Summary | |
|---|---|
GZIP
The GZIP wrapper as specified in RFC 1952. |
|
NONE
Raw DEFLATE stream only (no header and no footer). |
|
ZLIB
The ZLIB wrapper as specified in RFC 1950. |
|
| Method Summary | |
|---|---|
static ZlibWrapper |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ZlibWrapper[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ZlibWrapper ZLIB
public static final ZlibWrapper GZIP
public static final ZlibWrapper NONE
| Method Detail |
|---|
public static ZlibWrapper[] values()
for (ZlibWrapper c : ZlibWrapper.values()) System.out.println(c);
public static ZlibWrapper 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 name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||