Package org.krysalis.barcode4j.impl.qr
Class QRLogicImpl
java.lang.Object
org.krysalis.barcode4j.impl.qr.QRLogicImpl
- All Implemented Interfaces:
QRConstants
Top-level class for the logic part of the DataMatrix implementation.
- Version:
- $Id: QRLogicImpl.java,v 1.3 2012-02-08 12:59:41 jmaerki Exp $
-
Field Summary
Fields inherited from interface org.krysalis.barcode4j.impl.qr.QRConstants
ALPHANUMERIC, ALPHANUMERIC_TABLE, BINARY, ERROR_CORRECTION_LEVEL_H, ERROR_CORRECTION_LEVEL_L, ERROR_CORRECTION_LEVEL_M, ERROR_CORRECTION_LEVEL_Q, NUMERIC, QUIET_ZONE_SIZE, QUIET_ZONE_SIZE_MICRO -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgenerateBarcodeLogic(TwoDimBarcodeLogicHandler logic, String msg, String encoding, char errorCorrectionLevel, Dimension minSize, Dimension maxSize) Generates the barcode logic.
-
Constructor Details
-
QRLogicImpl
public QRLogicImpl()
-
-
Method Details
-
generateBarcodeLogic
public void generateBarcodeLogic(TwoDimBarcodeLogicHandler logic, String msg, String encoding, char errorCorrectionLevel, Dimension minSize, Dimension maxSize) Generates the barcode logic.- Parameters:
logic- the logic handler to receive generated eventsmsg- the message to encodeerrorCorrectionLevel- the error correction level (one of L, M, Q, H)encoding- the message encodingminSize- the minimum symbol size constraint or null for no constraintmaxSize- the maximum symbol size constraint or null for no constraint
-