public final class Code128ExtendedParameters extends BaseExtendedParameters
Stores special data of Code128 recognized barcode
Represents the recognized barcode's region and barcode angle
This sample shows how to get code128 raw valuesBarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.Code128, "12345"); generator.save("c:\\test.png"); BarCodeReader reader = new BarCodeReader("c:\\test.png", DecodeType.CODE_128); for(BarCodeResult result : reader.readBarCodes()) { System.out.println("BarCode Type: " + result.getCodeTypeName()); System.out.println("BarCode CodeText: " + result.getCodeText()); System.out.println("Code128 Data Portions: " + result.getExtended().getCode128()); }
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified
Code128ExtendedParameters value. |
Code128DataPortion[] |
getCode128DataPortions()
Gets
Code128DataPortion array of recognized Code128 barcode |
int |
hashCode()
Returns the hash code for this instance.
|
java.lang.String |
toString()
Returns a human-readable string representation of this
Code128ExtendedParameters. |
isEmptypublic Code128DataPortion[] getCode128DataPortions()
Gets Code128DataPortion array of recognized Code128 barcode
Code128DataPortion.public boolean equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified Code128ExtendedParameters value.
equals in class java.lang.Objectobj - An System.Object value to compare to this instance.<b>true</b> if obj has the same value as this instance; otherwise, <b>false</b>.public int hashCode()
Returns the hash code for this instance.
hashCode in class java.lang.Objectpublic java.lang.String toString()
Returns a human-readable string representation of this Code128ExtendedParameters.
toString in class java.lang.ObjectCode128ExtendedParameters.