Package es.gob.afirma.mreport.barcode
Class BarcodeManager
- java.lang.Object
-
- es.gob.afirma.mreport.barcode.BarcodeManager
-
- All Implemented Interfaces:
BarcodeManagerI
public class BarcodeManager extends java.lang.Object implements BarcodeManagerI
Class for the management of bar codes.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.1, 18/04/2022.
-
-
Field Summary
-
Fields inherited from interface es.gob.afirma.mreport.barcode.BarcodeManagerI
CODABAR, CODABAR_DPI, CODABAR_MOD_WIDTH, CODE128, CODE128_DPI, CODE128_MOD_WIDTH, CODE39, CODE39_DPI, CODE39_MOD_WIDTH, CONTENT_TYPE_IMG, DATAMATRIX, DATAMATRIX_DPI, DATAMATRIX_MOD_WIDTH, DEFAULT_QR_CODE_HEIGHT, DEFAULT_QR_CODE_WIDTH, EAN128, EAN128_DPI, EAN128_MOD_WIDTH, FORMAT_IMG, H_READABLE_PLACEMENT, HRP_BOTTOM, HRP_NONE, HRP_TOP, LXXVI, PDF417, PDF417_DPI, PDF417_MOD_WIDTH, QR_CODE_HEIGHT, QR_CODE_WIDTH, QRCODE, ROTATION, XCVI
-
-
Constructor Summary
Constructors Constructor Description BarcodeManager()Constructor method for the class BarcodeManager.java.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ArrayList<BarcodeImage>generateBarcode(java.util.ArrayList<Barcode> barcodes, boolean includeURL, boolean includeContent)Method for generating one or multiple barcodes.
-
-
-
Method Detail
-
generateBarcode
public java.util.ArrayList<BarcodeImage> generateBarcode(java.util.ArrayList<Barcode> barcodes, boolean includeURL, boolean includeContent) throws BarcodeException
Method for generating one or multiple barcodes.- Specified by:
generateBarcodein interfaceBarcodeManagerI- Parameters:
barcodes- List ofBarcodethat contain information about a particular bar code type to generate.includeURL- If the value is true then the BarcodeImage Objects will include a RFC2397 "data" URL.includeContent- If the value is true then the BarcodeImage Objects will include the array of bytes that is associated to image of bar code.- Returns:
- List of
BarcodeImagethat contain the bar code created. - Throws:
BarcodeException- If an error occurs.- See Also:
BarcodeManagerI.generateBarcode(ArrayList, boolean, boolean)
-
-