AustraliaPostSettings

Inheritance: java.lang.Object

public class AustraliaPostSettings

AustraliaPost decoding parameters. Contains parameters which make influence on recognized data of AustraliaPost symbology.

Methods

MethodDescription
equals(Object arg0)
getClass()
getCustomerInformationDecoder()Public interface for Customer Information Field decoding which is used in AustraliaPost symbology.
getCustomerInformationInterpretingType()Gets or sets the Interpreting Type for the Customer Information of AustralianPost BarCode.DEFAULT is CustomerInformationInterpretingType.OTHER.
getIgnoreEndingFillingPatternsForCTable()The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method.
hashCode()
notify()
notifyAll()
setCustomerInformationDecoder(AustraliaPostCustomerInformationDecoder value)Public interface for Customer Information Field decoding which is used in AustraliaPost symbology.
setCustomerInformationInterpretingType(CustomerInformationInterpretingType value)Gets or sets the Interpreting Type for the Customer Information of AustralianPost BarCode.DEFAULT is CustomerInformationInterpretingType.OTHER.
setIgnoreEndingFillingPatternsForCTable(boolean value)The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method.
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCustomerInformationDecoder()

public AustraliaPostCustomerInformationDecoder getCustomerInformationDecoder()

Public interface for Customer Information Field decoding which is used in AustraliaPost symbology.

Returns: AustraliaPostCustomerInformationDecoder - Public interface for Customer Information Field decoding which is used in AustraliaPost symbology.

getCustomerInformationInterpretingType()

public CustomerInformationInterpretingType getCustomerInformationInterpretingType()

Gets or sets the Interpreting Type for the Customer Information of AustralianPost BarCode.DEFAULT is CustomerInformationInterpretingType.OTHER.

Returns: CustomerInformationInterpretingType - The interpreting type (CTable, NTable or Other) of customer information for AustralianPost BarCode

getIgnoreEndingFillingPatternsForCTable()

public boolean getIgnoreEndingFillingPatternsForCTable()

The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method. CTable encoding method does not have any gaps in encoding table and sequnce “333” of filling paterns is decoded as letter “z”. Example BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.AUSTRALIA_POST, “5912345678AB”); generator.getParameters().getBarcode().getAustralianPost().setAustralianPostEncodingTable(CustomerInformationInterpretingType.C_TABLE); BufferedImage image = generator.generateBarCodeImage(); BarCodeReader reader = new BarCodeReader(image, DecodeType.AUSTRALIA_POST); reader.getBarcodeSettings().getAustraliaPost().setCustomerInformationInterpretingType(CustomerInformationInterpretingType.C_TABLE); reader.getBarcodeSettings().getAustraliaPost().setIgnoreEndingFillingPatternsForCTable(true); for(BarCodeResult result : reader.readBarCodes()) { System.out.println(“BarCode Type: " + result.getCodeType()); System.out.println(“BarCode CodeText: " + result.getCodeText()); }

Returns: boolean - The flag which force AustraliaPost decoder to ignore last filling patterns during CTable method decoding

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setCustomerInformationDecoder(AustraliaPostCustomerInformationDecoder value)

public void setCustomerInformationDecoder(AustraliaPostCustomerInformationDecoder value)

Public interface for Customer Information Field decoding which is used in AustraliaPost symbology.

Parameters:

ParameterTypeDescription
valueAustraliaPostCustomerInformationDecoder

setCustomerInformationInterpretingType(CustomerInformationInterpretingType value)

public void setCustomerInformationInterpretingType(CustomerInformationInterpretingType value)

Gets or sets the Interpreting Type for the Customer Information of AustralianPost BarCode.DEFAULT is CustomerInformationInterpretingType.OTHER.

Parameters:

ParameterTypeDescription
valueCustomerInformationInterpretingTypeThe interpreting type (CTable, NTable or Other) of customer information for AustralianPost BarCode

setIgnoreEndingFillingPatternsForCTable(boolean value)

public void setIgnoreEndingFillingPatternsForCTable(boolean value)

The flag which force AustraliaPost decoder to ignore last filling patterns in Customer Information Field during decoding as CTable method. CTable encoding method does not have any gaps in encoding table and sequnce “333” of filling paterns is decoded as letter “z”. Example BarcodeGenerator generator = new BarcodeGenerator(EncodeTypes.AUSTRALIA_POST, “5912345678AB”); generator.getParameters().getBarcode().getAustralianPost().setAustralianPostEncodingTable(CustomerInformationInterpretingType.C_TABLE); BufferedImage image = generator.generateBarCodeImage(); BarCodeReader reader = new BarCodeReader(image, DecodeType.AUSTRALIA_POST); reader.getBarcodeSettings().getAustraliaPost().setCustomerInformationInterpretingType(CustomerInformationInterpretingType.C_TABLE); reader.getBarcodeSettings().getAustraliaPost().setIgnoreEndingFillingPatternsForCTable(true); for(BarCodeResult result : reader.readBarCodes()) { System.out.println(“BarCode Type: " + result.getCodeType()); System.out.println(“BarCode CodeText: " + result.getCodeText()); }

Parameters:

ParameterTypeDescription
valueboolean

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int