Package es.gob.afirma.mreport.barcode
Interface BarcodeManagerI
-
- All Known Implementing Classes:
BarcodeManager
public interface BarcodeManagerIInterface that provides all necessary methods and constants for the management of bar codes.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
- Version:
- 1.0, 28/08/2020.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCODABARAttribute that identifies the type of bar code "Codabar".static intCODABAR_DPIAttribute that represents the resolution used to create "Codabar" barcode.static doubleCODABAR_MOD_WIDTHAttribute that represents the module width (inch) used to create "Codabar" barcode.static java.lang.StringCODE128Attribute that identifies the type of bar code "Code128".static intCODE128_DPIAttribute that represents the resolution used to create "Code128" barcode.static doubleCODE128_MOD_WIDTHAttribute that represents the module width (inch) used to create "Code128" barcode.static java.lang.StringCODE39Attribute that identifies the type of bar code "Code39".static intCODE39_DPIAttribute that represents the resolution used to create "Code39" barcode.static doubleCODE39_MOD_WIDTHAttribute that represents the module width (inch) used to create "Code39" barcode.static java.lang.StringCONTENT_TYPE_IMGAttribute that represents the content type of image used to create the barcode.static java.lang.StringDATAMATRIXAttribute that identifies the type of bar code "DataMatrix".static intDATAMATRIX_DPIAttribute that represents the resolution used to create "DATAMATRIX" barcode.static doubleDATAMATRIX_MOD_WIDTHAttribute that represents the module width (inch) used to create "PDF417" barcode.static intDEFAULT_QR_CODE_HEIGHTAttribute that represents the height (pixels) used to create "QR Code" barcode.static intDEFAULT_QR_CODE_WIDTHAttribute that represents the width (pixels) used to create "QR Code" barcode.static java.lang.StringEAN128Attribute that identifies the type of bar code "EAN128".static intEAN128_DPIAttribute that represents the resolution used to create "EAN128" barcode.static doubleEAN128_MOD_WIDTHAttribute that represents the module width (inch) used to create "EAN128" barcode.static java.lang.StringFORMAT_IMGAttribute that represents the format of image used to create the barcode.static java.lang.StringH_READABLE_PLACEMENTAttribute that represents the "HumanReadablePlacement" property key.static java.lang.StringHRP_BOTTOMAttribute that represents the human readable placement of bar code is bottom.static java.lang.StringHRP_NONEAttribute that represents the human readable placement of bar code is none.static java.lang.StringHRP_TOPAttribute that represents the human readable placement of bar code is top.static intLXXVIConstant that represents a 76 number.static java.lang.StringPDF417Attribute that identifies the type of bar code "PDF417".static intPDF417_DPIAttribute that represents the resolution used to create "PDF417" barcode.static doublePDF417_MOD_WIDTHAttribute that represents the module width (inch) used to create "PDF417" barcode.static java.lang.StringQR_CODE_HEIGHTAttribute that represents the "QRCodeHeight" property key.static java.lang.StringQR_CODE_WIDTHAttribute that represents the "QRCodeWidth" property key.static java.lang.StringQRCODEAttribute that identifies the type of bar code "QRCode".static java.lang.StringROTATIONAttribute that represents the "rotation" property key.static intXCVIConstant that represents a 96 number.
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Field Detail
-
CODE39
static final java.lang.String CODE39
Attribute that identifies the type of bar code "Code39".- See Also:
- Constant Field Values
-
CODE128
static final java.lang.String CODE128
Attribute that identifies the type of bar code "Code128".- See Also:
- Constant Field Values
-
EAN128
static final java.lang.String EAN128
Attribute that identifies the type of bar code "EAN128".- See Also:
- Constant Field Values
-
CODABAR
static final java.lang.String CODABAR
Attribute that identifies the type of bar code "Codabar".- See Also:
- Constant Field Values
-
PDF417
static final java.lang.String PDF417
Attribute that identifies the type of bar code "PDF417".- See Also:
- Constant Field Values
-
DATAMATRIX
static final java.lang.String DATAMATRIX
Attribute that identifies the type of bar code "DataMatrix".- See Also:
- Constant Field Values
-
QRCODE
static final java.lang.String QRCODE
Attribute that identifies the type of bar code "QRCode".- See Also:
- Constant Field Values
-
H_READABLE_PLACEMENT
static final java.lang.String H_READABLE_PLACEMENT
Attribute that represents the "HumanReadablePlacement" property key.- See Also:
- Constant Field Values
-
ROTATION
static final java.lang.String ROTATION
Attribute that represents the "rotation" property key.- See Also:
- Constant Field Values
-
HRP_BOTTOM
static final java.lang.String HRP_BOTTOM
Attribute that represents the human readable placement of bar code is bottom.- See Also:
- Constant Field Values
-
HRP_TOP
static final java.lang.String HRP_TOP
Attribute that represents the human readable placement of bar code is top.- See Also:
- Constant Field Values
-
HRP_NONE
static final java.lang.String HRP_NONE
Attribute that represents the human readable placement of bar code is none.- See Also:
- Constant Field Values
-
CONTENT_TYPE_IMG
static final java.lang.String CONTENT_TYPE_IMG
Attribute that represents the content type of image used to create the barcode.- See Also:
- Constant Field Values
-
FORMAT_IMG
static final java.lang.String FORMAT_IMG
Attribute that represents the format of image used to create the barcode.- See Also:
- Constant Field Values
-
CODE39_DPI
static final int CODE39_DPI
Attribute that represents the resolution used to create "Code39" barcode.- See Also:
- Constant Field Values
-
CODE39_MOD_WIDTH
static final double CODE39_MOD_WIDTH
Attribute that represents the module width (inch) used to create "Code39" barcode.- See Also:
- Constant Field Values
-
CODE128_DPI
static final int CODE128_DPI
Attribute that represents the resolution used to create "Code128" barcode.- See Also:
- Constant Field Values
-
CODE128_MOD_WIDTH
static final double CODE128_MOD_WIDTH
Attribute that represents the module width (inch) used to create "Code128" barcode.- See Also:
- Constant Field Values
-
CODABAR_DPI
static final int CODABAR_DPI
Attribute that represents the resolution used to create "Codabar" barcode.- See Also:
- Constant Field Values
-
CODABAR_MOD_WIDTH
static final double CODABAR_MOD_WIDTH
Attribute that represents the module width (inch) used to create "Codabar" barcode.- See Also:
- Constant Field Values
-
EAN128_DPI
static final int EAN128_DPI
Attribute that represents the resolution used to create "EAN128" barcode.- See Also:
- Constant Field Values
-
EAN128_MOD_WIDTH
static final double EAN128_MOD_WIDTH
Attribute that represents the module width (inch) used to create "EAN128" barcode.- See Also:
- Constant Field Values
-
PDF417_DPI
static final int PDF417_DPI
Attribute that represents the resolution used to create "PDF417" barcode.- See Also:
- Constant Field Values
-
XCVI
static final int XCVI
Constant that represents a 96 number.- See Also:
- Constant Field Values
-
LXXVI
static final int LXXVI
Constant that represents a 76 number.- See Also:
- Constant Field Values
-
PDF417_MOD_WIDTH
static final double PDF417_MOD_WIDTH
Attribute that represents the module width (inch) used to create "PDF417" barcode.- See Also:
- Constant Field Values
-
DATAMATRIX_DPI
static final int DATAMATRIX_DPI
Attribute that represents the resolution used to create "DATAMATRIX" barcode.- See Also:
- Constant Field Values
-
DATAMATRIX_MOD_WIDTH
static final double DATAMATRIX_MOD_WIDTH
Attribute that represents the module width (inch) used to create "PDF417" barcode.- See Also:
- Constant Field Values
-
DEFAULT_QR_CODE_WIDTH
static final int DEFAULT_QR_CODE_WIDTH
Attribute that represents the width (pixels) used to create "QR Code" barcode.- See Also:
- Constant Field Values
-
DEFAULT_QR_CODE_HEIGHT
static final int DEFAULT_QR_CODE_HEIGHT
Attribute that represents the height (pixels) used to create "QR Code" barcode.- See Also:
- Constant Field Values
-
QR_CODE_WIDTH
static final java.lang.String QR_CODE_WIDTH
Attribute that represents the "QRCodeWidth" property key.- See Also:
- Constant Field Values
-
QR_CODE_HEIGHT
static final java.lang.String QR_CODE_HEIGHT
Attribute that represents the "QRCodeHeight" property key.- See Also:
- Constant Field Values
-
-
Method Detail
-
generateBarcode
java.util.ArrayList<BarcodeImage> generateBarcode(java.util.ArrayList<Barcode> barcodes, boolean includeURL, boolean includeContent) throws BarcodeException
Method for generating one or multiple barcodes.- 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.
-
-