public final class DotCodeExtendedParameters extends BaseExtendedParameters
Stores special data of DotCode recognized barcode
This sample shows how to get DotCode raw valuesBarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.DOT_CODE, "12345"); { generator.save("c:\\test.png"); } BarCodeReader reader = new BarCodeReader("c:\\test.png", DecodeType.DOT_CODE); { for(BarCodeResult result : reader.ReadBarCodes()) { System.out.println("BarCode type: " + result.getCodeTypeName()); System.out.println("BarCode codetext: " + result.getCodeText()); System.out.println("DotCode barcode ID: " + result.getExtended().getDotCode().getDotCodeStructuredAppendModeBarcodeId()); System.out.println("DotCode barcodes count: " + result.getExtended().getDotCode().getDotCodeStructuredAppendModeBarcodesCount()); } }
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified
DotCodeExtendedParameters value. |
boolean |
getDotCodeIsReaderInitialization()
Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader.
|
int |
getDotCodeStructuredAppendModeBarcodeId()
Gets the ID of the DotCode structured append mode barcode.
|
int |
getDotCodeStructuredAppendModeBarcodesCount()
Gets the DotCode structured append mode barcodes count.
|
int |
hashCode()
Returns the hash code for this instance.
|
java.lang.String |
toString()
Returns a human-readable string representation of this
DotCodeExtendedParameters . |
isEmpty
public int getDotCodeStructuredAppendModeBarcodesCount()
Gets the DotCode structured append mode barcodes count. Default value is -1. Count must be a value from 1 to 35.
Value: The count of the DotCode structured append mode barcode.public int getDotCodeStructuredAppendModeBarcodeId()
Gets the ID of the DotCode structured append mode barcode. ID starts from 1 and must be less or equal to barcodes count. Default value is -1.
Value: The ID of the DotCode structured append mode barcode.public boolean getDotCodeIsReaderInitialization()
Indicates whether code is used for instruct reader to interpret the following data as instructions for initialization or reprogramming of the bar code reader. Default value is false.
public boolean equals(java.lang.Object obj)
Returns a value indicating whether this instance is equal to a specified DotCodeExtendedParameters
value.
equals
in class java.lang.Object
obj
- 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.Object
public java.lang.String toString()
Returns a human-readable string representation of this DotCodeExtendedParameters
.
toString
in class java.lang.Object
DotCodeExtendedParameters
.