com.healthmarketscience.jackcess.impl
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:
- : This class is for advanced/internal use.
|
Method Summary |
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. |
static org.apache.poi.poifs.filesystem.DocumentEntry |
getDocumentEntry(String entryName,
org.apache.poi.poifs.filesystem.DirectoryEntry dir)
Gets a DocumentEntry from compound storage based on a fully qualified,
encoded entry name. |
CompoundOleUtil
public CompoundOleUtil()
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 exist
IOException - if some other io error occurs
Copyright © 2005-2015 Health Market Science. All Rights Reserved.