Enum Class Pdf417EncodeMode
- All Implemented Interfaces:
Serializable,Comparable<Pdf417EncodeMode>,Constable
Pdf417 barcode encode mode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIn Auto mode, the CodeText is encoded with maximum data compactness.In Binary mode, the CodeText is encoded with maximum data compactness.In ECI mode, the entire message is re-encoded in the ECIEncoding specified encoding with the insertion of an ECI identifier. -
Method Summary
Modifier and TypeMethodDescriptionstatic Pdf417EncodeModefromValue(int value) intgetValue()static Pdf417EncodeModeReturns the enum constant of this class with the specified name.static Pdf417EncodeMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTO
In Auto mode, the CodeText is encoded with maximum data compactness. Unicode characters are re-encoded in the ECIEncoding specified encoding with the insertion of an ECI identifier. If a character is found that is not supported by the selected ECI encoding, an exception is thrown.
-
BINARY
In Binary mode, the CodeText is encoded with maximum data compactness. If a Unicode character is found, an exception is thrown.
-
ECI
In ECI mode, the entire message is re-encoded in the ECIEncoding specified encoding with the insertion of an ECI identifier. If a character is found that is not supported by the selected ECI encoding, an exception is thrown. Please note that some old (pre 2006) scanners may not support this mode.
-
EXTENDED
Extended mode which supports multi ECI modes.
It is better to use Pdf417ExtCodetextBuilder for extended codetext generation.
Use Display2DText property to set visible text to removing managing characters.
ECI identifiers are set as single slash and six digits identifier "\000026" - UTF8 ECI identifier
All unicode characters after ECI identifier are automatically encoded into correct character codeset.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue() -
fromValue
-