Interface BarcodeManagerI

  • All Known Implementing Classes:
    BarcodeManager

    public interface BarcodeManagerI

    Interface 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.String CODABAR
      Attribute that identifies the type of bar code "Codabar".
      static int CODABAR_DPI
      Attribute that represents the resolution used to create "Codabar" barcode.
      static double CODABAR_MOD_WIDTH
      Attribute that represents the module width (inch) used to create "Codabar" barcode.
      static java.lang.String CODE128
      Attribute that identifies the type of bar code "Code128".
      static int CODE128_DPI
      Attribute that represents the resolution used to create "Code128" barcode.
      static double CODE128_MOD_WIDTH
      Attribute that represents the module width (inch) used to create "Code128" barcode.
      static java.lang.String CODE39
      Attribute that identifies the type of bar code "Code39".
      static int CODE39_DPI
      Attribute that represents the resolution used to create "Code39" barcode.
      static double CODE39_MOD_WIDTH
      Attribute that represents the module width (inch) used to create "Code39" barcode.
      static java.lang.String CONTENT_TYPE_IMG
      Attribute that represents the content type of image used to create the barcode.
      static java.lang.String DATAMATRIX
      Attribute that identifies the type of bar code "DataMatrix".
      static int DATAMATRIX_DPI
      Attribute that represents the resolution used to create "DATAMATRIX" barcode.
      static double DATAMATRIX_MOD_WIDTH
      Attribute that represents the module width (inch) used to create "PDF417" barcode.
      static int DEFAULT_QR_CODE_HEIGHT
      Attribute that represents the height (pixels) used to create "QR Code" barcode.
      static int DEFAULT_QR_CODE_WIDTH
      Attribute that represents the width (pixels) used to create "QR Code" barcode.
      static java.lang.String EAN128
      Attribute that identifies the type of bar code "EAN128".
      static int EAN128_DPI
      Attribute that represents the resolution used to create "EAN128" barcode.
      static double EAN128_MOD_WIDTH
      Attribute that represents the module width (inch) used to create "EAN128" barcode.
      static java.lang.String FORMAT_IMG
      Attribute that represents the format of image used to create the barcode.
      static java.lang.String H_READABLE_PLACEMENT
      Attribute that represents the "HumanReadablePlacement" property key.
      static java.lang.String HRP_BOTTOM
      Attribute that represents the human readable placement of bar code is bottom.
      static java.lang.String HRP_NONE
      Attribute that represents the human readable placement of bar code is none.
      static java.lang.String HRP_TOP
      Attribute that represents the human readable placement of bar code is top.
      static int LXXVI
      Constant that represents a 76 number.
      static java.lang.String PDF417
      Attribute that identifies the type of bar code "PDF417".
      static int PDF417_DPI
      Attribute that represents the resolution used to create "PDF417" barcode.
      static double PDF417_MOD_WIDTH
      Attribute that represents the module width (inch) used to create "PDF417" barcode.
      static java.lang.String QR_CODE_HEIGHT
      Attribute that represents the "QRCodeHeight" property key.
      static java.lang.String QR_CODE_WIDTH
      Attribute that represents the "QRCodeWidth" property key.
      static java.lang.String QRCODE
      Attribute that identifies the type of bar code "QRCode".
      static java.lang.String ROTATION
      Attribute that represents the "rotation" property key.
      static int XCVI
      Constant that represents a 96 number.
    • 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
      • 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 of Barcode that 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 BarcodeImage that contain the bar code created.
        Throws:
        BarcodeException - If an error occurs.