FileEncoding

Inheritance: java.lang.Object, java.lang.Enum < FileEncoding > com.aspose.pdf.FileEncoding, java.lang.Enum < FileEncoding >, com.aspose.pdf.FileEncoding

All Implemented Interfaces: Serializable, Comparable < FileEncoding >

public enum FileEncoding extends Enum < FileEncoding >

Encoding of the attached file. Possible values: Zip - file is compressed with ZIP, None - file is non compressed.

Fields

FieldDescription
NoneFile is not compressed.
ZipFile is compressed with ZIP algorithhm.

Methods

MethodDescription
getByValue
getValue
valueOfReturns the enum constant of this type with the specified name.
valuesReturns an array containing the constants of this enum type, in the order they are declared.

None

public static final FileEncoding None

File is not compressed.

Zip

public static final FileEncoding Zip

File is compressed with ZIP algorithhm.

getByValue

public static FileEncoding getByValue(int value)

Parameters:

ParameterTypeDescription
value

getValue

public int getValue()

valueOf

Returns the enum constant of this type with the specified name.

values

public static FileEncoding [] values()

Returns an array containing the constants of this enum type, in the order they are declared.

Returns: an array containing the constants of this enum type, in the order they are declared