org.krysalis.barcode4j.image.loader
Class ImageLoaderBarcode
java.lang.Object
org.apache.xmlgraphics.image.loader.impl.AbstractImageLoader
org.krysalis.barcode4j.image.loader.ImageLoaderBarcode
- All Implemented Interfaces:
- org.apache.xmlgraphics.image.loader.spi.ImageLoader
public class ImageLoaderBarcode
- extends org.apache.xmlgraphics.image.loader.impl.AbstractImageLoader
ImageLoader for barcodes. This implementation doesn't really load anything since the full
barcode has to be loaded and pre-processed at preloading time.
Fields inherited from interface org.apache.xmlgraphics.image.loader.spi.ImageLoader |
MEDIUM_LOADING_PENALTY, NO_LOADING_PENALTY |
Constructor Summary |
ImageLoaderBarcode(org.apache.xmlgraphics.image.loader.ImageFlavor targetFlavor)
Main constructor. |
Method Summary |
org.apache.xmlgraphics.image.loader.ImageFlavor |
getTargetFlavor()
|
org.apache.xmlgraphics.image.loader.Image |
loadImage(org.apache.xmlgraphics.image.loader.ImageInfo info,
java.util.Map hints,
org.apache.xmlgraphics.image.loader.ImageSessionContext session)
|
Methods inherited from class org.apache.xmlgraphics.image.loader.impl.AbstractImageLoader |
getUsagePenalty, ignoreColorProfile, loadImage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImageLoaderBarcode
public ImageLoaderBarcode(org.apache.xmlgraphics.image.loader.ImageFlavor targetFlavor)
- Main constructor.
- Parameters:
targetFlavor
- the target flavor
getTargetFlavor
public org.apache.xmlgraphics.image.loader.ImageFlavor getTargetFlavor()
-
loadImage
public org.apache.xmlgraphics.image.loader.Image loadImage(org.apache.xmlgraphics.image.loader.ImageInfo info,
java.util.Map hints,
org.apache.xmlgraphics.image.loader.ImageSessionContext session)
throws org.apache.xmlgraphics.image.loader.ImageException,
java.io.IOException
-
- Throws:
org.apache.xmlgraphics.image.loader.ImageException
java.io.IOException
Copyright © 2000-2010 Jeremias Maerki. All rights reserved.