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.Content
getContent(String key)
org.jepub.core.spec.navigation.control.Contents
getContents()
org.jepub.core.io.read.boundary.EpubFile
getEpubFile()
org.jepub.core.spec.navigation.entity.Content
getFirstContent()
InputStream
getFontResource(String fontFileName)
InputStream
getMediaResource(String mediaFileName)
org.jepub.core.spec.rendition.boundary.Rendition
getRendition()
InputStream
getResource(String path)
File
getSourceFile()
InputStream
getStyleResource(String styleFileName)
InputStream
getTextResource(String textFileName)
String
getTitle()
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()
-
-