Class QuickTime
- java.lang.Object
-
- com.twelvemonkeys.imageio.plugins.pict.QuickTime
-
final class QuickTime extends java.lang.ObjectQuickTime- Version:
- $Id: QT.java,v 1.0 Feb 16, 2009 7:20:59 PM haraldk Exp$
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static classQuickTime.ImageDescClass representing the'idsc'QuickTime Atom.
-
Field Summary
Fields Modifier and Type Field Description private static java.util.List<QTDecompressor>sDecompressors(package private) static java.lang.StringVENDOR_APPLE
-
Constructor Summary
Constructors Constructor Description QuickTime()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.awt.image.BufferedImagedecompress(javax.imageio.stream.ImageInputStream stream)Decompresses the QuickTime image data from the given stream.private static QTDecompressorgetDecompressor(QuickTime.ImageDesc description)Gets a decompressor that can decompress the described data.
-
-
-
Field Detail
-
VENDOR_APPLE
static final java.lang.String VENDOR_APPLE
- See Also:
- Constant Field Values
-
sDecompressors
private static final java.util.List<QTDecompressor> sDecompressors
-
-
Method Detail
-
getDecompressor
private static QTDecompressor getDecompressor(QuickTime.ImageDesc description)
Gets a decompressor that can decompress the described data.- Parameters:
description- the image description ('idsc'Atom).- Returns:
- a decompressor that can decompress data decribed by the given
description, ornullif no decompressor is found
-
decompress
public static java.awt.image.BufferedImage decompress(javax.imageio.stream.ImageInputStream stream) throws java.io.IOExceptionDecompresses the QuickTime image data from the given stream.- Parameters:
stream- the image input stream- Returns:
- a
BufferedImagecontaining the image data, ornullif no decompressor is capable of decompressing the image. - Throws:
java.io.IOException- if an I/O exception occurs during read
-
-