public class Artwork
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Artwork.Type |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Returns the encoded data of this artwork.
|
java.awt.Image |
getImage()
Returns the decoded image, that can be painted.
|
Artwork.Type |
getType()
Returns the type of data in this artwork.
|
public Artwork.Type getType()
Artwork.Type
public byte[] getData()
public java.awt.Image getImage() throws java.io.IOException
java.io.IOException
- if decoding fails