public class ImageSource
extends java.lang.Object
| Constructor and Description |
|---|
ImageSource(java.io.InputStream stream,
ImageType type)
Specifies the normal construct method.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getImage() |
java.io.InputStream |
getStream()
Gets the image stream.
|
ImageType |
getType()
Gets the type of the image.
|
public ImageSource(java.io.InputStream stream,
ImageType type)
stream - The image stream.type - The type of the image.public java.io.InputStream getStream()
public ImageType getType()
public byte[] getImage()