Class BarcodeScannerAdditionalConfigBuilder
-
- All Implemented Interfaces:
public final class BarcodeScannerAdditionalConfigBuilder
BarcodeScannerAdditionalConfig-builder. Targets Java users which do not have access to BarcodeScannerAdditionalConfig.copy method.
-
-
Method Summary
Modifier and Type Method Description final BarcodeScannerAdditionalConfigBuilder
setMinimumTextLength(Integer minimumTextLength)
Minimum required text length of the detected barcode. final BarcodeScannerAdditionalConfigBuilder
setMaximumTextLength(Integer maximumTextLength)
Maximum text length of the detected barcode. final BarcodeScannerAdditionalConfigBuilder
setMinimum1DQuietZoneSize(Integer minimum1DQuietZoneSize)
Minimum required quiet zone on the barcode. final BarcodeScannerAdditionalConfigBuilder
setGs1HandlingMode(Gs1Handling handling)
Set the GS1 handling mode. final BarcodeScannerAdditionalConfigBuilder
setMsiPlesseyChecksumAlgorithms(EnumSet<MSIPlesseyChecksumAlgorithm> msiPlesseyChecksumAlgorithms)
The checksum algorithms for MSI Plessey barcodes. final BarcodeScannerAdditionalConfigBuilder
setStripCheckDigits(Boolean stripCheckDigits)
If true, check digits for UPC, EAN and MSI Plessey codes are removed from result. final BarcodeScannerAdditionalConfigBuilder
setLowPowerMode(Boolean lowPowerMode)
If true
, enabled the mode which slightly decreases the scanning quality and the energy consumption, and increases the scanning speed.final BarcodeScannerAdditionalConfigBuilder
setUseIata2Of5Checksum(Boolean useIata2Of5Checksum)
If true
, the IATA 2 of 5 barcode checksum is used.final BarcodeScannerAdditionalConfigBuilder
setUseCode11Checksum(Boolean useCode11Checksum)
If true
, the Code 11 barcode checksum is used.final BarcodeScannerAdditionalConfigBuilder
setAustraliaPostCustomerFormat(AustraliaPostCustomerFormat australiaPostCustomerFormat)
The australia post customer format. final BarcodeScannerAdditionalConfigBuilder
setAddAdditionalQuietZone(Boolean addAdditionalQuietZone)
If true
, an additional quiet zone is added to the input image Default isfalse
-
-
Method Detail
-
setMinimumTextLength
final BarcodeScannerAdditionalConfigBuilder setMinimumTextLength(Integer minimumTextLength)
Minimum required text length of the detected barcode. The default value is 0 (the setting is turned off). NOTE: Currently works for ITF and MSI Plessey barcodes only!
-
setMaximumTextLength
final BarcodeScannerAdditionalConfigBuilder setMaximumTextLength(Integer maximumTextLength)
Maximum text length of the detected barcode. Setting to zero removes the limit. The default value is 0 (the setting is turned off). NOTE: Currently works for ITF and MSI Plessey barcodes only!
-
setMinimum1DQuietZoneSize
final BarcodeScannerAdditionalConfigBuilder setMinimum1DQuietZoneSize(Integer minimum1DQuietZoneSize)
Minimum required quiet zone on the barcode. Measured in modules (the size of a minimal bar on the barcode). The default value is 10. NOTE: Currently works for ITF and MSI Plessey barcodes only!
-
setGs1HandlingMode
final BarcodeScannerAdditionalConfigBuilder setGs1HandlingMode(Gs1Handling handling)
Set the GS1 handling mode.
-
setMsiPlesseyChecksumAlgorithms
final BarcodeScannerAdditionalConfigBuilder setMsiPlesseyChecksumAlgorithms(EnumSet<MSIPlesseyChecksumAlgorithm> msiPlesseyChecksumAlgorithms)
The checksum algorithms for MSI Plessey barcodes. The default value is MSIPlesseyChecksumAlgorithm.Mod10.
-
setStripCheckDigits
final BarcodeScannerAdditionalConfigBuilder setStripCheckDigits(Boolean stripCheckDigits)
If true, check digits for UPC, EAN and MSI Plessey codes are removed from result. Has no effect if both single and double digit MSI Plessey checksums are enabled. The default is
false
-
setLowPowerMode
final BarcodeScannerAdditionalConfigBuilder setLowPowerMode(Boolean lowPowerMode)
If
true
, enabled the mode which slightly decreases the scanning quality and the energy consumption, and increases the scanning speed. Iffalse
- mode is disabled. The default isfalse
-
setUseIata2Of5Checksum
final BarcodeScannerAdditionalConfigBuilder setUseIata2Of5Checksum(Boolean useIata2Of5Checksum)
If
true
, the IATA 2 of 5 barcode checksum is used. Default istrue
-
setUseCode11Checksum
final BarcodeScannerAdditionalConfigBuilder setUseCode11Checksum(Boolean useCode11Checksum)
If
true
, the Code 11 barcode checksum is used. Default istrue
-
setAustraliaPostCustomerFormat
final BarcodeScannerAdditionalConfigBuilder setAustraliaPostCustomerFormat(AustraliaPostCustomerFormat australiaPostCustomerFormat)
The australia post customer format. The default value is AustraliaPostCustomerFormat.ALPHA_NUMERIC.
-
setAddAdditionalQuietZone
final BarcodeScannerAdditionalConfigBuilder setAddAdditionalQuietZone(Boolean addAdditionalQuietZone)
If
true
, an additional quiet zone is added to the input image Default isfalse
-
-
-
-