Package com.idautomation.qrcode.encoder
Class barCodeEncoder
java.lang.Object
com.idautomation.qrcode.encoder.barCodeEncoder
This is the class that actually saves the image of the QRCode class.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionbarCodeEncoder
(com.idautomation.qrcode.QRCode c, String psFormat, String psFile) Constructor used to save an image of the current state of the QRCode object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
encodeImage
(com.idautomation.qrcode.QRCode c, String psFormat, String psFile) Has the same functionality as the constructor, can be used to encode images without the need to reinstantiate the barCodeEncoder object.
-
Field Details
-
result
public boolean result
-
-
Constructor Details
-
barCodeEncoder
Constructor used to save an image of the current state of the QRCode object.- Parameters:
c
- QRCode object.psFormat
- format to save the image as a "GIF" or "JPEG"psFile
- Name of the saved image file, "Test.gif"- See Also:
-
-
Method Details
-
encodeImage
Has the same functionality as the constructor, can be used to encode images without the need to reinstantiate the barCodeEncoder object.- Parameters:
c
- QRCode object.psFormat
- format to save the image as a "GIF" or "JPEG"psFile
- Name of the saved image file, "Test.gif"- See Also:
-