Package com.logicaldoc.barcode
Class Barcode
- java.lang.Object
-
- com.logicaldoc.barcode.Barcode
-
public class Barcode extends Object
An extracted barcode.- Since:
- 8.1
- Author:
- Marco Meschieri - LogicalDOC
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFormat()StringgetText()booleanmatchesFormat(String formats)Checks if the barcode matches the list of formatsvoidsetFormat(String format)voidsetText(String text)StringtoString()
-
-
-
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
-
-