public static enum AbstractXmlPackager.CompressionLevel extends Enum<AbstractXmlPackager.CompressionLevel>
| Enum Constant and Description |
|---|
BEST_COMPRESSION |
BEST_SPEED |
DEFAULT_COMPRESSION |
NO_COMPRESSION |
| Modifier and Type | Method and Description |
|---|---|
int |
getLevel() |
static AbstractXmlPackager.CompressionLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractXmlPackager.CompressionLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractXmlPackager.CompressionLevel BEST_SPEED
public static final AbstractXmlPackager.CompressionLevel BEST_COMPRESSION
public static final AbstractXmlPackager.CompressionLevel DEFAULT_COMPRESSION
public static final AbstractXmlPackager.CompressionLevel NO_COMPRESSION
public static AbstractXmlPackager.CompressionLevel[] values()
for (AbstractXmlPackager.CompressionLevel c : AbstractXmlPackager.CompressionLevel.values()) System.out.println(c);
public static AbstractXmlPackager.CompressionLevel 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 int getLevel()
Copyright © 2013. All Rights Reserved.