Package net.coobird.thumbnailator.tasks.io
This package provides classes which perform image input and output
operations in conjunction with the
SourceSinkThumbnailTask class.-
Interface Summary Interface Description ImageSink<T> An interface to be implemented by classes which stores the image resulting from a thumbnail generation task.ImageSource<T> An interface to be implemented by classes which read or retrieve images from which a thumbnail should be produced. -
Class Summary Class Description AbstractImageSink<T> An abstract class forImageSinks.AbstractImageSource<T> An abstract class forImageSources.BufferedImageSink AnImageSinkwhich stores the resulting thumbnail to aBufferedImage.BufferedImageSource AnImageSourcewhich uses aBufferedImageas the source image.FileImageSink AnImageSinkwhich writes the resulting thumbnail to a file.FileImageSink.UninitializedImageSink Temporary placeholderImageSinkwhich will be used before the#read()method is used.FileImageSource AnImageSourcewhich reads the source image from a file.FileImageSource.UninitializedImageSource Temporary placeholderImageSourcewhich will be used before theFileImageSource.UninitializedImageSource.read()method is used.InputStreamImageSource AnImageSourcewhich uses anInputStreamto read the source image.InputStreamImageSource.ExifCaptureInputStream AnInputStreamwhich intercepts the data stream to find Exif data and captures it if present.OutputStreamImageSink AnImageSinkwhich specifies anOutputStreamto which the thumbnail image should be written to.URLImageSource AnImageSourcewhich retrieves a source image from a URL.