|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.coobird.thumbnailator.makers.ThumbnailMaker
public abstract class ThumbnailMaker
An abstract class which provides support functionalities for
ThumbnailMaker implementations.
| Constructor Summary | |
|---|---|
ThumbnailMaker()
Creates and initializes an instance of ThumbnailMaker. |
|
| Method Summary | |
|---|---|
ThumbnailMaker |
defaultImageType()
Sets the type of the BufferedImage to be the default type. |
ThumbnailMaker |
defaultResizer()
Sets the Resizer to use the default Resizer. |
ThumbnailMaker |
defaultResizerFactory()
Sets the ResizerFactory to use DefaultResizerFactory. |
ThumbnailMaker |
imageType(int imageType)
Sets the type for the BufferedImage to produce. |
abstract BufferedImage |
make(BufferedImage img)
Makes a thumbnail. |
ThumbnailMaker |
resizer(Resizer resizer)
Sets the Resizer which is used for the resizing operation. |
ThumbnailMaker |
resizerFactory(ResizerFactory resizerFactory)
Sets the ResizerFactory which is used to obtain a Resizer
for the resizing operation. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThumbnailMaker()
ThumbnailMaker.
| Method Detail |
|---|
public abstract BufferedImage make(BufferedImage img)
img - The source image.
ThumbnailMaker.public ThumbnailMaker imageType(int imageType)
BufferedImage to produce.
imageType - The type of the BufferedImage.
public ThumbnailMaker defaultImageType()
BufferedImage to be the default type.
public ThumbnailMaker resizer(Resizer resizer)
Resizer which is used for the resizing operation.
resizer - The Resizer to use when resizing the image
to create the thumbnail.
public ThumbnailMaker defaultResizer()
Resizer to use the default Resizer.
public ThumbnailMaker resizerFactory(ResizerFactory resizerFactory)
ResizerFactory which is used to obtain a Resizer
for the resizing operation.
resizerFactory - The ResizerFactory to obtain the
Resizer used when resizing the image
to create the thumbnail.
public ThumbnailMaker defaultResizerFactory()
ResizerFactory to use DefaultResizerFactory.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||