@Deprecated public class PreviewImageData extends Object
Represents preview image data.
Modifier and Type | Method and Description |
---|---|
byte[] |
getContents()
Deprecated.
Gets a byte array containing the preview image.
|
InputStream |
toStream()
Deprecated.
|
void |
writeTo(OutputStream stream)
Deprecated.
Writes the entire contents to a stream.
|
public final byte[] getContents()
Gets a byte array containing the preview image.
public final InputStream toStream()
public final void writeTo(OutputStream stream) throws IOException
Writes the entire contents to a stream.
stream
- The stream to write the contents to.IOException