public class PreviewImageData extends Object
Represents preview image data.
Modifier and Type | Method and Description |
---|---|
byte[] |
getContents()
Gets a byte array containing the preview image.
|
InputStream |
toStream()
Converts the preview image data to a stream.
|
void |
writeTo(InputStream stream)
Writes the entire contents to a stream.
|
public byte[] getContents()
Gets a byte array containing the preview image.
public InputStream toStream()
Converts the preview image data to a stream.
public void writeTo(InputStream stream)
Writes the entire contents to a stream.
stream
- The stream to write the contents to.Copyright © 2019. All rights reserved.