public class IconDto
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Gets the icon data as raw bytes.
|
java.lang.String |
getMimeType()
Gets the mimeType.
|
void |
setData(byte[] data)
Sets the icon data as raw bytes.
|
void |
setMimeType(java.lang.String mimeType)
Sets the mimeType.
|
public IconDto()
IconDto
.public void setMimeType(java.lang.String mimeType)
image/png
, image/jpg
and image/jpeg
.mimeType
- The mimeTypepublic java.lang.String getMimeType()
public void setData(byte[] data)
128x128 px
in size
and must not exceed 256kb.data
- The data to setpublic byte[] getData()