public class FontDetector
extends java.lang.Object
| Constructor and Description |
|---|
FontDetector(FontManager manager,
FontAdder adder,
boolean strict,
FontEventListener listener)
Main constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
detect(java.util.List<EmbedFontInfo> fontInfoList)
Detect installed fonts on the system
|
public FontDetector(FontManager manager, FontAdder adder, boolean strict, FontEventListener listener)
manager - the font manageradder - the font adderstrict - true if an Exception should be thrown if an error is found.listener - for throwing font related eventspublic void detect(java.util.List<EmbedFontInfo> fontInfoList) throws FOPException
fontInfoList - a list of fontinfo to populateFOPException - thrown if a problem occurred during detectionCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.