public final class XmpThumbnail extends XmpComplexType
Represents a thumbnail image for a file.
Constructor and Description |
---|
XmpThumbnail()
Initializes a new instance of the
XmpThumbnail class. |
XmpThumbnail(int width,
int height)
Initializes a new instance of the
XmpThumbnail class. |
Modifier and Type | Method and Description |
---|---|
String |
getFormat()
Gets the image format.
|
Integer |
getHeight()
Gets the image height in pixels.
|
String |
getImageBase64()
Gets the full thumbnail image data, converted to base 64 notation.
|
byte[] |
getImageData()
Gets the image data.
|
Integer |
getWidth()
Gets the image width in pixels.
|
void |
setFormat(String value)
Sets the image format.
|
void |
setHeight(Integer value)
Sets the image height in pixels.
|
void |
setImageBase64(String value)
Sets the full thumbnail image data, converted to base 64 notation.
|
void |
setWidth(Integer value)
Sets the image width in pixels.
|
getNamespaceUri, getNamespaceUris, getPrefixes, getXmpRepresentation, toString
addProperties, contains, findProperties, get_Item, getCount, getKeys, getKnowPropertyDescriptors, getMetadataType, getPropertyDescriptors, iterator, removeProperties, sanitize, setProperties, updateProperties
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public XmpThumbnail()
Initializes a new instance of the XmpThumbnail
class.
public XmpThumbnail(int width, int height)
Initializes a new instance of the XmpThumbnail
class.
width
- The width.height
- The height.public final Integer getWidth()
Gets the image width in pixels.
public final void setWidth(Integer value)
Sets the image width in pixels.
value
- The thumbnail width.public final Integer getHeight()
Gets the image height in pixels.
public final void setHeight(Integer value)
Sets the image height in pixels.
value
- The thumbnail height.public final String getImageBase64()
Gets the full thumbnail image data, converted to base 64 notation.
public final void setImageBase64(String value)
Sets the full thumbnail image data, converted to base 64 notation.
value
- The full thumbnail image data, converted to base 64 notation.public final byte[] getImageData()
Gets the image data.
public final String getFormat()
Gets the image format. Defined value: JPEG.
public final void setFormat(String value)
Sets the image format. Defined value: JPEG.
value
- The thumbnail format.