Class Barcode

java.lang.Object
com.logicaldoc.barcode.Barcode

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

  • Method Details

    • getFormat

      public String getFormat()
    • getText

      public String getText()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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