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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
countPages
(InputStream input, String filename) Counts the number of pages of the given binary document.void
internalParse
(InputStream input, ParseParameters parameters, StringBuilder content) Methods inherited from class com.logicaldoc.core.parser.AbstractParser
countPages, parse, parse, parse, parse
-
Constructor Details
-
EpubParser
public EpubParser()
-
-
Method Details
-
internalParse
-
countPages
Description copied from interface:Parser
Counts the number of pages of the given binary document.- Specified by:
countPages
in interfaceParser
- Overrides:
countPages
in classAbstractParser
- Parameters:
input
- binary content from which to extract the textfilename
- name of the file- Returns:
- the number of pages
-