Class 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 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.