Class ThumbnailReader.JPEGThumbnailReader
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.jpeg.ThumbnailReader
-
- com.twelvemonkeys.imageio.plugins.jpeg.ThumbnailReader.JPEGThumbnailReader
-
- Enclosing class:
- ThumbnailReader
static class ThumbnailReader.JPEGThumbnailReader extends ThumbnailReader
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.twelvemonkeys.imageio.plugins.jpeg.ThumbnailReader
ThumbnailReader.IndexedThumbnailReader, ThumbnailReader.JPEGThumbnailReader, ThumbnailReader.UncompressedThumbnailReader
-
-
Constructor Summary
Constructors Constructor Description JPEGThumbnailReader(javax.imageio.ImageReader reader, javax.imageio.stream.ImageInputStream input, long offset)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetHeight()intgetWidth()private voidinitReader()java.awt.image.BufferedImageread()private java.awt.DimensionreadDimensions()javax.imageio.metadata.IIOMetadatareadMetadata()
-
-
-
Method Detail
-
initReader
private void initReader() throws java.io.IOException- Throws:
java.io.IOException
-
read
public java.awt.image.BufferedImage read() throws java.io.IOException- Specified by:
readin classThumbnailReader- Throws:
java.io.IOException
-
readDimensions
private java.awt.Dimension readDimensions() throws java.io.IOException- Throws:
java.io.IOException
-
getWidth
public int getWidth() throws java.io.IOException- Specified by:
getWidthin classThumbnailReader- Throws:
java.io.IOException
-
getHeight
public int getHeight() throws java.io.IOException- Specified by:
getHeightin classThumbnailReader- Throws:
java.io.IOException
-
readMetadata
public javax.imageio.metadata.IIOMetadata readMetadata() throws java.io.IOException- Overrides:
readMetadatain classThumbnailReader- Throws:
java.io.IOException
-
-