@OpenApiAll
public static class ElementImageHelper.ImageInformation
extends java.lang.Object
| Constructor and Description |
|---|
ImageInformation()
Sets content, format and image to nulls.
|
ImageInformation(java.lang.String content,
java.lang.String format)
Initializes content, format of image.
|
ImageInformation(java.lang.String content,
java.lang.String format,
java.lang.String location)
Initializes content, format and location of image.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.Object |
clone() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getContent() |
java.lang.String |
getFormat() |
java.lang.String |
getLocation() |
int |
hashCode() |
void |
setContent(java.lang.String content)
Sets content of image.
|
void |
setFormat(java.lang.String format)
Sets format of image.
|
void |
setLocation(java.lang.String location)
Sets location of image.
|
public ImageInformation(@CheckForNull
java.lang.String content,
@CheckForNull
java.lang.String format,
@CheckForNull
java.lang.String location)
content - content of image. Use Utilities.toString() to convert bytes to a string.format - format of image(like gif, png and etc).location - location of image.Utilities.toString(byte[])public ImageInformation(java.lang.String content,
java.lang.String format)
content - content of image. Use Utilities.toString() to convert bytes to a string.format - format of image(like gif, png and etc).Utilities.toString(byte[])public ImageInformation()
public void setContent(java.lang.String content)
content - content of image.Utilities.toString(byte[])@CheckForNull public java.lang.String getContent()
public void setFormat(java.lang.String format)
format - format of image.public java.lang.String getFormat()
public void setLocation(java.lang.String location)
location - location of image.public java.lang.String getLocation()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectprotected java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class java.lang.Objectjava.lang.CloneNotSupportedException