Package com.logicaldoc.core.parser
Class EpubParser
java.lang.Object
com.logicaldoc.core.parser.AbstractParser
com.logicaldoc.core.parser.EpubParser
- All Implemented Interfaces:
- Parser
A specialized parser to extract text from .epub(e-books) format
- Since:
- 8.4.3
- Author:
- Marco Meschieri - LogicalDOC
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionintcountPages(InputStream input, String filename) Counts the number of pages of the given binary document.voidinternalParse(InputStream input, ParseParameters parameters, StringBuilder content) Methods inherited from class com.logicaldoc.core.parser.AbstractParsercountPages, parse, parse, parse, parse
- 
Constructor Details- 
EpubParserpublic EpubParser()
 
- 
- 
Method Details- 
internalParse
- 
countPagesDescription copied from interface:ParserCounts the number of pages of the given binary document.- Specified by:
- countPagesin interface- Parser
- Overrides:
- countPagesin class- AbstractParser
- Parameters:
- input- binary content from which to extract the text
- filename- name of the file
- Returns:
- the number of pages
 
 
-