public class ImageResult extends AbstractValueResult
Constructor and Description |
---|
ImageResult(PageLocationMetaResult pageLocationMeta, String base64)
Creates an instance of image result.
|
Modifier and Type | Method and Description |
---|---|
AbstractValueResult |
cloneWithoutMeta()
Clones this instance without metadata entries.
|
boolean |
equals(Object o) |
String |
getBase64()
Get image base64 string
|
byte[] |
getBytes()
Get image bytes.
|
RenderedImage |
getImage()
Get image object.
|
PageLocationMetaResult |
getPageLocationMeta()
Get image page location
|
int |
hashCode() |
getResultType
public ImageResult(PageLocationMetaResult pageLocationMeta, String base64)
pageLocationMeta
- image page location
base64
- representation of image bytes as base64 string
public PageLocationMetaResult getPageLocationMeta()
public String getBase64()
public byte[] getBytes()
public RenderedImage getImage() throws IOException
IOException
- if any I/O exception occurs
public AbstractValueResult cloneWithoutMeta()
AbstractValueResult
cloneWithoutMeta
in class AbstractValueResult
public boolean equals(Object o)
equals
in class AbstractValueResult
public int hashCode()
hashCode
in class AbstractValueResult
Copyright © 2023. All rights reserved.