Package loci.poi.hssf.usermodel
Class HSSFObjectData
- java.lang.Object
-
- loci.poi.hssf.usermodel.HSSFObjectData
-
public class HSSFObjectData extends Object
Represents binary object (i.e. OLE) data stored in the file. Eg. A GIF, JPEG etc...- Author:
- Daniel Noll
-
-
Constructor Summary
Constructors Constructor Description HSSFObjectData(ObjRecord record, POIFSFileSystem poifs)
Constructs object data by wrapping a lower level object record.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DirectoryEntry
getDirectory()
Gets the object data.
-
-
-
Constructor Detail
-
HSSFObjectData
public HSSFObjectData(ObjRecord record, POIFSFileSystem poifs)
Constructs object data by wrapping a lower level object record.- Parameters:
record
- the low-level object record.poifs
- the filesystem, required for retrieving the object data.
-
-
Method Detail
-
getDirectory
public DirectoryEntry getDirectory() throws IOException
Gets the object data.- Returns:
- the object data as an OLE2 directory.
- Throws:
IOException
- if there was an error reading the data.
-
-