|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.barbecue.BarcodeImageHandler
Utility class to provide convenience methods for converting barcodes to images and other misc barcode handling.
| Method Summary | |
static java.awt.image.BufferedImage |
getImage(Barcode barcode)
Creates an image for a barcode that can be used in other GUI componenets (e.g. |
static void |
outputBarcodeAsJPEGImage(Barcode barcode,
java.io.OutputStream os)
Outputs a barcode directly to the given output stream, encoded as a JPEG image. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.awt.image.BufferedImage getImage(Barcode barcode)
barcode - The barcode to convert into an image
public static void outputBarcodeAsJPEGImage(Barcode barcode,
java.io.OutputStream os)
throws java.io.IOException
barcode - The barcode to outputos - The output stream to write the image to
java.io.IOException - If the image cannot be written to the output stream correctly
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||