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
public class FontAnalyzer extends AbstractRemoteAnalyzer
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 Constructor Description FontAnalyzer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Main method used to start the analyzer in standalone 'slave mode'.java.util.List<AnalysisItem>
run(Document document)
private java.util.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
-
-
-
-
Method Detail
-
main
public static void main(java.lang.String[] args) throws AnalyzerException
Main method used to start the analyzer in standalone 'slave mode'.- Parameters:
args
-- Throws:
AnalyzerException
-
run
public java.util.List<AnalysisItem> run(Document document) throws java.io.IOException, AnalyzerException, DocumentException
- Specified by:
run
in classAbstractRemoteAnalyzer
- Returns:
- A list of FontAnalysisItem
- Throws:
java.io.IOException
AnalyzerException
DocumentException
-
run
private java.util.List<AnalysisItem> run(PDFDocument document) throws java.io.IOException, AnalyzerException
- Throws:
java.io.IOException
AnalyzerException
-
-