Package org.ghost4j.analyzer
Interface Analyzer
-
- All Superinterfaces:
Component
- All Known Subinterfaces:
RemoteAnalyzer
- All Known Implementing Classes:
AbstractAnalyzer
,AbstractRemoteAnalyzer
,FontAnalyzer
,InkAnalyzer
public interface Analyzer extends Component
Interface defining an analyzer used to retrieve info on a Document to a given format.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<AnalysisItem>
analyze(Document document)
Analyzes a given document and outputs result as a list of AnalysisItem objects.-
Methods inherited from interface org.ghost4j.Component
copySettings, extractSettings
-
-
-
-
Method Detail
-
analyze
java.util.List<AnalysisItem> analyze(Document document) throws java.io.IOException, AnalyzerException, DocumentException
Analyzes a given document and outputs result as a list of AnalysisItem objects.- Parameters:
document
- Document to analyze. Document type may or may no be supported (support left to the analyze final implementation).- Returns:
- a List of AnalysisItem objects
- Throws:
java.io.IOException
AnalyzerException
DocumentException
-
-