com.java4less.encoder
Class ImageEncoder

java.lang.Object
  extended by com.java4less.encoder.ImageEncoder

public class ImageEncoder
extends java.lang.Object


Field Summary
 boolean result
           
 
Constructor Summary
ImageEncoder(java.awt.Component c, java.lang.String psFormat, java.lang.String psFile)
          Saves the current barcode to a graphics file (gif , png or jpeg).
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

result

public boolean result
Constructor Detail

ImageEncoder

public ImageEncoder(java.awt.Component c,
                    java.lang.String psFormat,
                    java.lang.String psFile)
Saves the current barcode to a graphics file (gif , png or jpeg). The format can be "GIF", "PNG" or "JPEG". Note that:

The GIF encoder must be downloaded from: http://www.acme.com/resources/classes/Acme.tar.gz
The PNG encoder must be downloaded from: png encoder from http://users.boone.net/wbrameld/pngencoder/
In order to use the JPEG encoder you must have the package com.sun.image.codec.jpeg installed (It is only available for java 1.2 or later.).