GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
File.Thumbnail() |
Modifier and Type | Method and Description |
---|---|
File.Thumbnail |
clone() |
byte[] |
decodeImage()
The URL-safe Base64 encoded bytes of the thumbnail image.
|
File.Thumbnail |
encodeImage(byte[] image)
The URL-safe Base64 encoded bytes of the thumbnail image.
|
String |
getImage()
The URL-safe Base64 encoded bytes of the thumbnail image.
|
String |
getMimeType()
The MIME type of the thumbnail.
|
File.Thumbnail |
set(String fieldName,
Object value) |
File.Thumbnail |
setImage(String image)
The URL-safe Base64 encoded bytes of the thumbnail image.
|
File.Thumbnail |
setMimeType(String mimeType)
The MIME type of the thumbnail.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
public String getImage()
null
for nonedecodeImage()
public byte[] decodeImage()
null
for nonegetImage()
public File.Thumbnail setImage(String image)
image
- image or null
for none#encodeImage()
public File.Thumbnail encodeImage(byte[] image)
The value is encoded Base64 or {@code null} for none.
public String getMimeType()
null
for nonepublic File.Thumbnail setMimeType(String mimeType)
mimeType
- mimeType or null
for nonepublic File.Thumbnail set(String fieldName, Object value)
set
in class GenericJson
public File.Thumbnail clone()
clone
in class GenericJson