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 AbstractRemoteComponent
maxProcessCount, processCountFields inherited from class 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 AbstractRemoteAnalyzer
analyze, startRemoteAnalyzerMethods inherited from class AbstractRemoteComponent
buildJavaFork, getMaxProcessCount, getProcessCount, getRemoteComponent, isStandAloneModeSupported, setMaxProcessCount, startRemoteServer, waitForFreeProcessMethods inherited from class AbstractComponent
assertDeviceSupported, assertDocumentSupported, copySettings, extractSettings, isDeviceSupportedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Component
copySettings, extractSettingsMethods inherited from interface 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
-