Package org.ghost4j.analyzer
Class FontAnalyzer
java.lang.Object
org.ghost4j.AbstractComponent
org.ghost4j.AbstractRemoteComponent
org.ghost4j.analyzer.AbstractRemoteAnalyzer
org.ghost4j.analyzer.FontAnalyzer
- All Implemented Interfaces:
Analyzer
,RemoteAnalyzer
,Component
Font analyzer: analyze fonts used in a document.
-
Field Summary
Fields inherited from class org.ghost4j.AbstractRemoteComponent
maxProcessCount, processCount
Fields inherited from class org.ghost4j.AbstractComponent
supportedDocumentClasses
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Main method used to start the analyzer in standalone 'slave mode'.private List
<AnalysisItem> run
(PDFDocument document) Methods inherited from class org.ghost4j.analyzer.AbstractRemoteAnalyzer
analyze, startRemoteAnalyzer
Methods inherited from class org.ghost4j.AbstractRemoteComponent
buildJavaFork, getMaxProcessCount, getProcessCount, getRemoteComponent, isStandAloneModeSupported, setMaxProcessCount, startRemoteServer, waitForFreeProcess
Methods inherited from class org.ghost4j.AbstractComponent
assertDeviceSupported, assertDocumentSupported, copySettings, extractSettings, isDeviceSupported
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ghost4j.Component
copySettings, extractSettings
Methods inherited from interface org.ghost4j.analyzer.RemoteAnalyzer
setMaxProcessCount
-
Constructor Details
-
FontAnalyzer
public FontAnalyzer()
-
-
Method Details
-
main
Main method used to start the analyzer in standalone 'slave mode'.- Parameters:
args
-- Throws:
AnalyzerException
-
run
public List<AnalysisItem> run(Document document) throws IOException, AnalyzerException, DocumentException - Specified by:
run
in classAbstractRemoteAnalyzer
- Returns:
- A list of FontAnalysisItem
- Throws:
IOException
AnalyzerException
DocumentException
-
run
- Throws:
IOException
AnalyzerException
-