public enum Code128Aggressiveness extends java.lang.Enum<Code128Aggressiveness>
Code128Aggressiveness is an enumeration defining the allowed aggressive mode for Code 128 barcodes.
The aggressive mode can provide an improvement of decoding performance, but the decoding robustness
can decrease with the performance improvement. Therefore LOW and VERY LOW aggressive mode should be set only
in case of barcode printed with good quality. HIGH and VERY HIGH are suggested to improve performance in case
of barcode printed with very poor quality.
The type is one of:
| VERY_LOW | Very low aggressiveness with very high robustness. |
| LOW | Low aggressiveness with high robustness. |
| MEDIUM | Balance between performance and robustness. |
| HIGH | High aggressiveness, but robustness worsening. |
| VERY HIGH | Worst robustness to improve performance to decode barcode printed with very poor quality. |
| Enum Constant and Description |
|---|
HIGH
High aggressiveness for decoding poor quality barcodes.
|
LOW
Low aggressiveness for decoding good quality barcodes.
|
MEDIUM
Medium aggressiveness for decoding barcodes with a balances robustness.
|
VERY_HIGH
Very high aggressiveness for decoding very poor quality barcodes.
|
VERY_LOW
Very low aggressiveness for decoding very good quality barcodes.
|
| Modifier and Type | Method and Description |
|---|---|
static Code128Aggressiveness |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Code128Aggressiveness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Code128Aggressiveness VERY_LOW
public static final Code128Aggressiveness LOW
public static final Code128Aggressiveness MEDIUM
public static final Code128Aggressiveness HIGH
public static final Code128Aggressiveness VERY_HIGH
public static Code128Aggressiveness[] values()
for (Code128Aggressiveness c : Code128Aggressiveness.values()) System.out.println(c);
public static Code128Aggressiveness 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 namejava.lang.NullPointerException - if the argument is null