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, processCountFields inherited from class org.ghost4j.AbstractComponent
supportedDocumentClasses -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidMain 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, startRemoteAnalyzerMethods inherited from class org.ghost4j.AbstractRemoteComponent
buildJavaFork, getMaxProcessCount, getProcessCount, getRemoteComponent, isStandAloneModeSupported, setMaxProcessCount, startRemoteServer, waitForFreeProcessMethods inherited from class org.ghost4j.AbstractComponent
assertDeviceSupported, assertDocumentSupported, copySettings, extractSettings, isDeviceSupportedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.ghost4j.Component
copySettings, extractSettingsMethods 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:
runin classAbstractRemoteAnalyzer- Returns:
- A list of FontAnalysisItem
- Throws:
IOExceptionAnalyzerExceptionDocumentException
-
run
- Throws:
IOExceptionAnalyzerException
-