Class Barcode


  • public class Barcode
    extends Object
    An extracted barcode.
    Since:
    8.1
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

    • Method Detail

      • getFormat

        public String getFormat()
      • setFormat

        public void setFormat​(String format)
      • getText

        public String getText()
      • setText

        public void setText​(String text)
      • matchesFormat

        public boolean matchesFormat​(String formats)
        Checks if the barcode matches the list of formats
        Parameters:
        formats - comma-separated list of barcode formats
        Returns:
        true if the barcode matches one of the given formats