public class ImageSnapshot extends HashMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ImageSnapshot()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
The content type for the image encoding format that was used to capture
this snapshot.
|
byte[] |
getData()
The encoded data representing the image snapshot.
|
int |
getHeight()
The image height in pixels.
|
Map |
getProperties()
Additional properties of the image.
|
int |
getWidth()
The image width in pixels.
|
void |
setContentType(String value)
Sets content type of this snapshot.
|
void |
setData(byte[] value)
Set the encoded data representing the image snapshot.
|
void |
setHeight(int value)
Set image height in pixels.
|
void |
setProperties(Map value)
Sets the map of dynamic properties for this snapshot.
|
void |
setWidth(int value)
Set width in pixels.
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, valuesequals, hashCode, toStringpublic String getContentType()
public void setContentType(String value)
value - content typepublic byte[] getData()
public void setData(byte[] value)
value - byte array of image datapublic int getHeight()
public void setHeight(int value)
value - image height in pixels.public Map getProperties()
public void setProperties(Map value)
value - map containing dynamic properties for this snapshotpublic int getWidth()
public void setWidth(int value)
value - width in pixels.Copyright © 2015 The Apache Software Foundation. All rights reserved.