com.healthmarketscience.jackcess.util
Interface OleBlob.CompoundContent

All Superinterfaces:
Iterable<OleBlob.CompoundContent.Entry>, OleBlob.Content, OleBlob.EmbeddedContent, OleBlob.PackageContent
Enclosing interface:
OleBlob

public static interface OleBlob.CompoundContent
extends OleBlob.PackageContent, OleBlob.EmbeddedContent, Iterable<OleBlob.CompoundContent.Entry>

Sub-interface for Content which has the OleBlob.ContentType.COMPOUND_STORAGE type. Compound storage is a complex embedding format also known as OLE2. In some situations (mostly non-microsoft office file formats) the actual content is available from the getContentsEntry() method (if hasContentsEntry() returns true). In other situations (e.g. microsoft office file formats), the actual content is most or all of the compound content (but retrieving the final file may be a complex operation beyond the scope of jackcess). Note that the CompoundContent type will only be available if the POI library is in the classpath, otherwise compound content will be returned as OtherContent.


Nested Class Summary
static interface OleBlob.CompoundContent.Entry
          A document entry in the compound storage.
 
Method Summary
 OleBlob.CompoundContent.Entry getContentsEntry()
           
 OleBlob.CompoundContent.Entry getEntry(String entryName)
           
 boolean hasContentsEntry()
           
 
Methods inherited from interface com.healthmarketscience.jackcess.util.OleBlob.PackageContent
getClassName, getPrettyName, getTypeName
 
Methods inherited from interface com.healthmarketscience.jackcess.util.OleBlob.EmbeddedContent
getStream, length, writeTo
 
Methods inherited from interface com.healthmarketscience.jackcess.util.OleBlob.Content
getBlob, getType
 
Methods inherited from interface java.lang.Iterable
iterator
 

Method Detail

getEntry

OleBlob.CompoundContent.Entry getEntry(String entryName)
                                       throws IOException
Throws:
IOException

hasContentsEntry

boolean hasContentsEntry()
                         throws IOException
Throws:
IOException

getContentsEntry

OleBlob.CompoundContent.Entry getContentsEntry()
                                               throws IOException
Throws:
IOException


Copyright © 2005–2017 Health Market Science. All rights reserved.