com.idautomation.linear.encoder
Class barCodeEncoder

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

public class barCodeEncoder
extends java.lang.Object

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


Field Summary
 boolean result
           
 
Constructor Summary
barCodeEncoder(BarCode c, java.lang.String psFormat, java.lang.String psFile)
          Constructor used to save an image of the current state of the BarCode object.
 
Method Summary
 void encodeImage(BarCode 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(BarCode c,
                      java.lang.String psFormat,
                      java.lang.String psFile)
Constructor used to save an image of the current state of the BarCode object.

Parameters:
c - BarCode 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.linear.BarCode c,String psFormat,String psFile)
Method Detail

encodeImage

public void encodeImage(BarCode 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 - BarCode 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.linear.BarCode c,String psFormat,String psFile)