ZipCompressionMethod

Contents
[ ]

Inheritance: java.lang.Object, java.lang.Enum

All Implemented Interfaces: com.groupdocs.metadata.core.IEnumValue

public enum ZipCompressionMethod extends Enum<ZipCompressionMethod> implements IEnumValue

Defines ZIP compression methods.

Fields

Field Description
NoCompression The file is stored (no compression).
Shrunk The file is Shrunk.
Imploded The file is Imploded.
Reserved A reserved compression method.
Deflated The file is Deflated.
BZip2 The file is compressed with the BZip2 algorithm.
Lzma The Lempel-Ziv-Markov chain-Algorithm.

Methods

Method Description
values()
valueOf(String name)
getByRawValue(int rawValue)
getFirst()
getAllValues()
getEnumValueByRawValue(int rawValue)
getEnumValueByName(String name)
getRawValueType()
getRawValue()

NoCompression

public static final ZipCompressionMethod NoCompression

The file is stored (no compression).

Shrunk

public static final ZipCompressionMethod Shrunk

The file is Shrunk.

Imploded

public static final ZipCompressionMethod Imploded

The file is Imploded.

Reserved

public static final ZipCompressionMethod Reserved

A reserved compression method.

Deflated

public static final ZipCompressionMethod Deflated

The file is Deflated.

BZip2

public static final ZipCompressionMethod BZip2

The file is compressed with the BZip2 algorithm.

Lzma

public static final ZipCompressionMethod Lzma

The Lempel-Ziv-Markov chain-Algorithm.

values()

public static ZipCompressionMethod[] values()

Returns: com.groupdocs.metadata.core.ZipCompressionMethod[]

valueOf(String name)

public static ZipCompressionMethod valueOf(String name)

Parameters:

Parameter Type Description
name java.lang.String

Returns: ZipCompressionMethod

getByRawValue(int rawValue)

public static ZipCompressionMethod getByRawValue(int rawValue)

Parameters:

Parameter Type Description
rawValue int

Returns: ZipCompressionMethod

getFirst()

public static IEnumValue getFirst()

Returns: IEnumValue

getAllValues()

public Object[] getAllValues()

Returns the array of all values defined in the class.

Returns: java.lang.Object[]

getEnumValueByRawValue(int rawValue)

public IEnumValue getEnumValueByRawValue(int rawValue)

Returns the enumeration value by the raw value associated with it.

Parameters:

Parameter Type Description
rawValue int

Returns: IEnumValue

getEnumValueByName(String name)

public IEnumValue getEnumValueByName(String name)

Returns the enumeration value by its name.

Parameters:

Parameter Type Description
name java.lang.String

Returns: IEnumValue

getRawValueType()

public RawIntegerType getRawValueType()

Returns the underlying type of the raw value of this enumeration value.

Returns: RawIntegerType

getRawValue()

public int getRawValue()

Returns the raw value of this enumeration value.

Returns: int