|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CompressionMethod>
org.openstreetmap.osmosis.core.xml.common.CompressionMethod
public enum CompressionMethod
Defines the various compression methods supported by xml tasks.
Enum Constant Summary | |
---|---|
BZip2
Specifies that BZip2 compression should be used. |
|
GZip
Specifies that GZip compression should be used. |
|
None
Specifies that no compression be performed. |
Method Summary | |
---|---|
static CompressionMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CompressionMethod[] |
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 CompressionMethod None
public static final CompressionMethod GZip
public static final CompressionMethod BZip2
Method Detail |
---|
public static CompressionMethod[] values()
for (CompressionMethod c : CompressionMethod.values()) System.out.println(c);
public static CompressionMethod 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 |