Class CompoundOleUtil
- java.lang.Object
-
- com.healthmarketscience.jackcess.impl.CompoundOleUtil
-
public class CompoundOleUtil extends Object
Utility code for working with OLE data which is in the compound storage format. This functionality relies on the optional POI library.Note that all POI usage is restricted to this file so that the basic ole support in OleUtil can be utilized without requiring POI.
- Author:
- James Ahlborn
- Usage:
- Advanced: This class is for advanced/internal use.
-
-
Constructor Summary
Constructors Constructor Description CompoundOleUtil()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.healthmarketscience.jackcess.impl.OleUtil.ContentImplcreateCompoundPackageContent(com.healthmarketscience.jackcess.impl.OleUtil.OleBlobImpl blob, String prettyName, String className, String typeName, ByteBuffer blobBb, int dataBlockLen)Creates a nes CompoundContent for the given blob information.static org.apache.poi.poifs.filesystem.DocumentEntrygetDocumentEntry(String entryName, org.apache.poi.poifs.filesystem.DirectoryEntry dir)Gets a DocumentEntry from compound storage based on a fully qualified, encoded entry name.
-
-
-
Method Detail
-
createCompoundPackageContent
public com.healthmarketscience.jackcess.impl.OleUtil.ContentImpl createCompoundPackageContent(com.healthmarketscience.jackcess.impl.OleUtil.OleBlobImpl blob, String prettyName, String className, String typeName, ByteBuffer blobBb, int dataBlockLen)Creates a nes CompoundContent for the given blob information.
-
getDocumentEntry
public static org.apache.poi.poifs.filesystem.DocumentEntry getDocumentEntry(String entryName, org.apache.poi.poifs.filesystem.DirectoryEntry dir) throws IOException
Gets a DocumentEntry from compound storage based on a fully qualified, encoded entry name.- Parameters:
entryName- fully qualified, encoded entry namedir- root directory of the compound storage- Returns:
- the relevant DocumentEntry
- Throws:
FileNotFoundException- if the entry does not existIOException- if some other io error occurs
-
-