public abstract class AbstractImageConverter extends Object implements ImageConverter
MEDIUM_CONVERSION_PENALTY, MINIMAL_CONVERSION_PENALTY, NO_CONVERSION_PENALTY
构造器和说明 |
---|
AbstractImageConverter() |
限定符和类型 | 方法和说明 |
---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
convert, getSourceFlavor, getTargetFlavor
protected void checkSourceFlavor(Image img)
img
- the image to checkpublic int getConversionPenalty()
getConversionPenalty
在接口中 ImageConverter
Copyright 1999-2016 The Apache Software Foundation. All Rights Reserved.