Package com.attribyte.parser.epub
Class EpubParser.Spine
java.lang.Object
com.attribyte.parser.epub.EpubParser.Spine
- Enclosing class:
EpubParser
A document spine.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal com.google.common.collect.ImmutableMap<String, EpubParser.ManifestItem> A map of manifest file vs id.final com.google.common.collect.ImmutableList<EpubParser.ManifestItem> The linear elements.final com.google.common.collect.ImmutableList<EpubParser.ManifestItem> The non-linear elements. -
Method Summary
-
Field Details
-
linear
The linear elements. -
nonLinear
The non-linear elements. -
items
A map of manifest file vs id.
-
-
Method Details
-
toString
-
images
- Returns:
- A list containing all items from both linear and non-linear lists that are images.
-
linearXHTML
- Returns:
- All items in the linear list that are XHTML.
-
mergeLinearXHTML
Merge all the linear XHTML into a single document.- Returns:
- The document.
- Throws:
IOException
-
nonLinearXHTML
- Returns:
- All items in the non-linear list that are XHTML.
-