|
xmlgraphics-commons 2.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.AbstractImageConverter
public abstract class AbstractImageConverter
Abstract base class for ImageConverter implementations.
| Field Summary |
|---|
| Fields inherited from interface org.apache.xmlgraphics.image.loader.spi.ImageConverter |
|---|
MEDIUM_CONVERSION_PENALTY, MINIMAL_CONVERSION_PENALTY, NO_CONVERSION_PENALTY |
| Constructor Summary | |
|---|---|
AbstractImageConverter()
|
|
| Method Summary | |
|---|---|
protected void |
checkSourceFlavor(Image img)
Checks if the source flavor of the given image is compatible with this ImageConverter. |
int |
getConversionPenalty()
Returns the conversion penalty for the conversion that this implementation supports. |
| 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.ImageConverter |
|---|
convert, getSourceFlavor, getTargetFlavor |
| Constructor Detail |
|---|
public AbstractImageConverter()
| Method Detail |
|---|
protected void checkSourceFlavor(Image img)
img - the image to checkpublic int getConversionPenalty()
getConversionPenalty in interface ImageConverter
|
xmlgraphics-commons 2.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||