Class EpubBook
- java.lang.Object
-
- com.openindex.openestate.tool.manual.epub.EpubBook
-
public class EpubBook extends Object
EpubBook.- Author:
- Andreas Rudolph
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jepub.core.spec.navigation.entity.ContentgetContent(String key)org.jepub.core.spec.navigation.control.ContentsgetContents()org.jepub.core.io.read.boundary.EpubFilegetEpubFile()org.jepub.core.spec.navigation.entity.ContentgetFirstContent()InputStreamgetFontResource(String fontFileName)InputStreamgetMediaResource(String mediaFileName)org.jepub.core.spec.rendition.boundary.RenditiongetRendition()InputStreamgetResource(String path)FilegetSourceFile()InputStreamgetStyleResource(String styleFileName)InputStreamgetTextResource(String textFileName)StringgetTitle()Map<String,org.jepub.core.spec.navigation.entity.Content>loadSections(String page)
-
-
-
Constructor Detail
-
EpubBook
public EpubBook(File sourceFile) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getContent
public org.jepub.core.spec.navigation.entity.Content getContent(String key)
-
getContents
public org.jepub.core.spec.navigation.control.Contents getContents()
-
getEpubFile
public org.jepub.core.io.read.boundary.EpubFile getEpubFile()
-
getFirstContent
public org.jepub.core.spec.navigation.entity.Content getFirstContent()
-
getFontResource
public InputStream getFontResource(String fontFileName) throws IOException
- Throws:
IOException
-
getMediaResource
public InputStream getMediaResource(String mediaFileName) throws IOException
- Throws:
IOException
-
getRendition
public org.jepub.core.spec.rendition.boundary.Rendition getRendition()
-
getResource
public InputStream getResource(String path) throws IOException
- Throws:
IOException
-
getSourceFile
public File getSourceFile()
-
getStyleResource
public InputStream getStyleResource(String styleFileName) throws IOException
- Throws:
IOException
-
getTextResource
public InputStream getTextResource(String textFileName) throws IOException
- Throws:
IOException
-
getTitle
public String getTitle()
-
-