public enum FileEncoding extends Enum<FileEncoding>
Encoding of the attached file. Possible values: Zip - file is compressed with ZIP, None - file is non compressed.
Enum Constant and Description |
---|
None
File is not compressed.
|
Zip
File is compressed with ZIP algorithhm.
|
Modifier and Type | Method and Description |
---|---|
static FileEncoding |
getByValue(int value) |
int |
getValue() |
static FileEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileEncoding None
File is not compressed.
public static final FileEncoding Zip
File is compressed with ZIP algorithhm.
public static FileEncoding[] values()
for (FileEncoding c : FileEncoding.values()) System.out.println(c);
public static FileEncoding 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 getValue()
public static FileEncoding getByValue(int value)
Copyright © 2025 Aspose. All Rights Reserved.