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 String
getFormat()
String
getText()
boolean
matchesFormat(String formats)
Checks if the barcode matches the list of formatsvoid
setFormat(String format)
void
setText(String text)
String
toString()
-
-
-
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
-
-