Package org.cip4.lib.xjdf.xml.internal
Enum AbstractXmlPackager.CompressionLevel
- java.lang.Object
-
- java.lang.Enum<AbstractXmlPackager.CompressionLevel>
-
- org.cip4.lib.xjdf.xml.internal.AbstractXmlPackager.CompressionLevel
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<AbstractXmlPackager.CompressionLevel>
- Enclosing class:
- AbstractXmlPackager<T>
public static enum AbstractXmlPackager.CompressionLevel extends java.lang.Enum<AbstractXmlPackager.CompressionLevel>
ZIP Compression Level.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BEST_COMPRESSIONBest compression.BEST_SPEEDBest speed.DEFAULT_COMPRESSIONDefault compression.NO_COMPRESSIONNo compression.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractXmlPackager.CompressionLevelvalueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
BEST_SPEED
public static final AbstractXmlPackager.CompressionLevel BEST_SPEED
Best speed.
-
BEST_COMPRESSION
public static final AbstractXmlPackager.CompressionLevel BEST_COMPRESSION
Best compression.
-
DEFAULT_COMPRESSION
public static final AbstractXmlPackager.CompressionLevel DEFAULT_COMPRESSION
Default compression.
-
NO_COMPRESSION
public static final AbstractXmlPackager.CompressionLevel NO_COMPRESSION
No compression.
-
-
Method Detail
-
values
public static AbstractXmlPackager.CompressionLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AbstractXmlPackager.CompressionLevel c : AbstractXmlPackager.CompressionLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractXmlPackager.CompressionLevel valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-