|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MetadataImage
Metadata type for an image.
This metadata type allows for special handling of embedded images, i.e. images that are metadata for other media. This includes such metadata as album art in ID3 tags or thumbnail images in EXIF data, etc.
Method Summary | |
---|---|
java.awt.image.BufferedImage |
getAsBufferedImage()
Get the image as a BufferedImage . |
java.lang.String |
getMimeType()
Get the image MIME type. |
void |
writeToStream(java.io.OutputStream out)
Write the image data to an output stream. |
Method Detail |
---|
java.lang.String getMimeType()
java.awt.image.BufferedImage getAsBufferedImage()
BufferedImage
.
Implementations are not required to support this method,
and if not supported should throw a
UnsupportedOperationException
.
void writeToStream(java.io.OutputStream out) throws java.io.IOException
This method will not flush or close the output stream.
out
- the output stream
java.io.IOException
- if an IO error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |