Package org.apache.poi.ss.extractor
Class EmbeddedData
- java.lang.Object
 - 
- org.apache.poi.ss.extractor.EmbeddedData
 
 
- 
public class EmbeddedData extends Object
A collection of embedded object informations and content 
- 
- 
Constructor Summary
Constructors Constructor Description EmbeddedData(String filename, byte[] embeddedData, String contentType) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContentType()byte[]getEmbeddedData()StringgetFilename()ShapegetShape()voidsetContentType(String contentType)Sets the content-/mime-typevoidsetEmbeddedData(byte[] embeddedData)Sets the embedded object as byte arrayvoidsetFilename(String filename)Sets the filenamevoidsetShape(Shape shape)Sets the shape which links to the embedded object 
 - 
 
- 
- 
Method Detail
- 
getFilename
public String getFilename()
- Returns:
 - the filename
 
 
- 
setFilename
public void setFilename(String filename)
Sets the filename- Parameters:
 filename- the filename
 
- 
getEmbeddedData
public byte[] getEmbeddedData()
- Returns:
 - the embedded object byte array
 
 
- 
setEmbeddedData
public void setEmbeddedData(byte[] embeddedData)
Sets the embedded object as byte array- Parameters:
 embeddedData- the embedded object byte array
 
- 
getShape
public Shape getShape()
- Returns:
 - the shape which links to the embedded object
 
 
- 
setShape
public void setShape(Shape shape)
Sets the shape which links to the embedded object- Parameters:
 shape- the shape
 
- 
getContentType
public String getContentType()
- Returns:
 - the content-/mime-type of the embedded object, the default (if unknown) is 
binary/octet-stream 
 
- 
setContentType
public void setContentType(String contentType)
Sets the content-/mime-type- Parameters:
 contentType- the content-type
 
 - 
 
 -