public class ImageInfo extends Object
Constructor and Description |
---|
ImageInfo(String name,
String imageBase64,
String extension) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static Optional<ImageInfo> |
fromImageData(String imageData)
Extracts base64 encoded image data to the
ImageInfo |
String |
getExtension() |
String |
getImageBase64() |
String |
getName() |
int |
hashCode() |
public static Optional<ImageInfo> fromImageData(String imageData)
ImageInfo
imageData
- base64 encoded image (e.g. data:image/png;base64, iVBORw0KG...==)public String getName()
public String getImageBase64()
public String getExtension()
Copyright © 2021 Atlassian. All rights reserved.