public class EmbeddedData
extends java.lang.Object
Constructor and Description |
---|
EmbeddedData(java.lang.String filename,
byte[] embeddedData,
java.lang.String contentType) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContentType() |
byte[] |
getEmbeddedData() |
java.lang.String |
getFilename() |
Shape |
getShape() |
void |
setContentType(java.lang.String contentType)
Sets the content-/mime-type
|
void |
setEmbeddedData(byte[] embeddedData)
Sets the embedded object as byte array
|
void |
setFilename(java.lang.String filename)
Sets the filename
|
void |
setShape(Shape shape)
Sets the shape which links to the embedded object
|
public EmbeddedData(java.lang.String filename, byte[] embeddedData, java.lang.String contentType)
public java.lang.String getFilename()
public void setFilename(java.lang.String filename)
filename
- the filenamepublic byte[] getEmbeddedData()
public void setEmbeddedData(byte[] embeddedData)
embeddedData
- the embedded object byte arraypublic Shape getShape()
public void setShape(Shape shape)
shape
- the shapepublic java.lang.String getContentType()
binary/octet-stream
public void setContentType(java.lang.String contentType)
contentType
- the content-typeCopyright 2020 The Apache Software Foundation or its licensors, as applicable.