com.java4less.vision
Class BarcodeData

java.lang.Object
  |
  +--com.java4less.vision.BarcodeData

public class BarcodeData
extends java.lang.Object

Information about scanned barcode


Constructor Summary
BarcodeData()
           
 
Method Summary
 int getSymbology()
          type of barcode
 java.lang.String getValue()
          scanned value.
 int getX()
          position of the barcode in the image
 int getY()
          position of the barcode in the image
 void setSymbology(int s)
           
 void setValue(java.lang.String v)
           
 void setX(int i)
           
 void setY(int i)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BarcodeData

public BarcodeData()
Method Detail

getSymbology

public int getSymbology()
type of barcode

Returns:

setSymbology

public void setSymbology(int s)

getValue

public java.lang.String getValue()
scanned value. Non printable characters will have the format ~dxxx where xxx is the ascii value of the character.

Returns:

setValue

public void setValue(java.lang.String v)

getX

public int getX()
position of the barcode in the image

Returns:

setX

public void setX(int i)

getY

public int getY()
position of the barcode in the image

Returns:

setY

public void setY(int i)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object