com.idautomation.databar.encoder
Class barCodeEncoder

java.lang.Object
  extended bycom.idautomation.databar.encoder.barCodeEncoder

public class barCodeEncoder
extends java.lang.Object

This is the class that actually saves the image of the DataBar class.


Field Summary
 boolean result
           
 
Constructor Summary
barCodeEncoder(DataBar c, java.lang.String psFormat, java.lang.String psFile)
          Constructor used to save an image of the current state of the DataBar object.
 
Method Summary
 void encodeImage(DataBar c, java.lang.String psFormat, java.lang.String psFile)
          Has the same functionality as the constructor, can be used to encode images without the need to reinstantiate the barCodeEncoder object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

result

public boolean result
Constructor Detail

barCodeEncoder

public barCodeEncoder(DataBar c,
                      java.lang.String psFormat,
                      java.lang.String psFile)
Constructor used to save an image of the current state of the DataBar object.

Parameters:
c - DataBar object.
psFormat - format to save the image as a "GIF" or "JPEG"
psFile - Name of the saved image file, "Test.gif"
See Also:
encodeImage(com.idautomation.databar.DataBar c,String psFormat,String psFile)
Method Detail

encodeImage

public void encodeImage(DataBar c,
                        java.lang.String psFormat,
                        java.lang.String psFile)
Has the same functionality as the constructor, can be used to encode images without the need to reinstantiate the barCodeEncoder object.

Parameters:
c - DataBar object.
psFormat - format to save the image as a "GIF" or "JPEG"
psFile - Name of the saved image file, "Test.gif"
See Also:
barCodeEncoder(com.idautomation.databar.DataBar c,String psFormat,String psFile)