|
xmlgraphics-commons 1.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xmlgraphics.image.loader.impl.AbstractImageLoader
public abstract class AbstractImageLoader
Simple abstract base class for ImageLoaders.
| Constructor Summary | |
|---|---|
AbstractImageLoader()
|
|
| Method Summary | |
|---|---|
int |
getUsagePenalty()
Returns the penalty assigned to using this image loader. |
Image |
loadImage(ImageInfo info,
ImageSessionContext session)
Loads and returns an image. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.xmlgraphics.image.loader.spi.ImageLoader |
|---|
getTargetFlavor, loadImage |
| Constructor Detail |
|---|
public AbstractImageLoader()
| Method Detail |
|---|
public Image loadImage(ImageInfo info,
ImageSessionContext session)
throws ImageException,
java.io.IOException
loadImage in interface ImageLoaderinfo - the image info object indicating the imagesession - the session context
ImageException - if an error occurs while loading the image
java.io.IOException - if an I/O error occurs while loading the imagepublic int getUsagePenalty()
getUsagePenalty in interface ImageLoader
|
xmlgraphics-commons 1.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||