|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The source class from which the source image is retrieved
or read.public interface ImageSource<T>
An interface to be implemented by classes which read or retrieve images from which a thumbnail should be produced.
Method Summary | |
---|---|
String |
getInputFormatName()
Returns the name of the image format. |
T |
getSource()
Returns the source from which the image is read or retrieved. |
BufferedImage |
read()
Retrieves the image from the source. |
void |
setThumbnailParameter(ThumbnailParameter param)
Sets the ThumbnailParameter from which to retrieve parameters
to use when retrieving the image. |
Method Detail |
---|
BufferedImage read() throws IOException
IOException
- When a problem occurs while reading or obtaining
the image.String getInputFormatName()
null
will be returned.
IllegalStateException
- If the source image has not been
read yet.void setThumbnailParameter(ThumbnailParameter param)
ThumbnailParameter
from which to retrieve parameters
to use when retrieving the image.
param
- The ThumbnailParameter
with image
reading parameters.T getSource()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |