public class PdfMarkImage
extends java.lang.Object
Constructor and Description |
---|
PdfMarkImage() |
PdfMarkImage(byte[] imageContent,
java.lang.String mimeType) |
PdfMarkImage(java.lang.String imageUrl,
java.lang.String mimeType) |
Modifier and Type | Method and Description |
---|---|
int |
getAlpha() |
java.lang.String |
getContent() |
java.lang.String |
getMimeType() |
java.lang.String |
getUrl() |
void |
setAlpha(int alpha) |
void |
setContent(java.lang.String content) |
void |
setContentFromFile(byte[] content) |
void |
setContentFromFile(java.io.InputStream stream) |
void |
setContentFromFile(java.nio.file.Path path) |
void |
setContentFromFile(java.lang.String filePath) |
void |
setMimeType(java.lang.String mimeType) |
void |
setUrl(java.lang.String url) |
com.lacunasoftware.restpki.PdfMarkImageModel |
toModel() |
public PdfMarkImage()
public PdfMarkImage(byte[] imageContent, java.lang.String mimeType)
public PdfMarkImage(java.lang.String imageUrl, java.lang.String mimeType)
public void setContentFromFile(java.io.InputStream stream) throws java.io.IOException
java.io.IOException
public void setContentFromFile(byte[] content)
public void setContentFromFile(java.lang.String filePath) throws java.io.IOException
java.io.IOException
public void setContentFromFile(java.nio.file.Path path) throws java.io.IOException
java.io.IOException
public com.lacunasoftware.restpki.PdfMarkImageModel toModel()
public java.lang.String getUrl()
public void setUrl(java.lang.String url)
public java.lang.String getContent()
public void setContent(java.lang.String content)
public java.lang.String getMimeType()
public void setMimeType(java.lang.String mimeType)
public int getAlpha()
public void setAlpha(int alpha)