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 theOleBlob.ContentType.COMPOUND_STORAGEtype. 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 thegetContentsEntry()method (ifhasContentsEntry()returnstrue). 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
Nested Classes Modifier and Type Interface Description static interfaceOleBlob.CompoundContent.EntryA document entry in the compound storage.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description OleBlob.CompoundContent.EntrygetContentsEntry()OleBlob.CompoundContent.EntrygetEntry(String entryName)booleanhasContentsEntry()default Stream<OleBlob.CompoundContent.Entry>stream()-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface com.healthmarketscience.jackcess.util.OleBlob.Content
getBlob, getType
-
Methods inherited from interface com.healthmarketscience.jackcess.util.OleBlob.EmbeddedContent
getStream, length, writeTo
-
Methods inherited from interface com.healthmarketscience.jackcess.util.OleBlob.PackageContent
getClassName, getPrettyName, getTypeName
-
-
-
-
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
-
stream
default Stream<OleBlob.CompoundContent.Entry> stream()
- Returns:
- a Stream using the default Iterator.
-
-