|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.businessrefinery.barcodereader.linear.LinearReader
public class LinearReader
Class for reading data from linear (1D) barcode image. Usage: // load image into a BufferedImage object BufferedImage bufferedImage = new BufferedImage(...); LinearReader reader=new LinearReader(); reader.setBarcodeType(LinearReader.CODE128); LinearData[] datas=reader.read(new BarcodeImage(bufferedImage));
Field Summary | |
---|---|
boolean |
applyContrast
apply contrast algorithm |
static int |
CODE128
|
static int |
CODE39
|
static int |
EAN13
|
static int |
EAN8
|
static int |
IDENTCODE
|
static int |
INTERLEAVED25
|
boolean |
isBlackWhiteImage
is a black and white image |
static int |
UPCA
|
static int |
UPCE
|
Constructor Summary | |
---|---|
LinearReader()
|
Method Summary | |
---|---|
LinearData[] |
read(BarcodeImage inputImage)
read barcode image for data |
void |
setBarcodeType(int type)
set of barcode type to be read |
void |
setProgressListener(IProgressListener l)
Set progress listener for getting progress information |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int CODE128
public static int EAN8
public static int EAN13
public static int UPCA
public static int UPCE
public static int CODE39
public static int INTERLEAVED25
public static int IDENTCODE
public boolean applyContrast
public boolean isBlackWhiteImage
Constructor Detail |
---|
public LinearReader()
Method Detail |
---|
public void setBarcodeType(int type)
public void setProgressListener(IProgressListener l)
public LinearData[] read(BarcodeImage inputImage) throws BarcodeException
BarcodeException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |