Package org.apache.fop.fonts
Class FontDetectorFactory.DefaultFontDetector
- java.lang.Object
-
- org.apache.fop.fonts.FontDetectorFactory.DefaultFontDetector
-
- All Implemented Interfaces:
FontDetector
- Enclosing class:
- FontDetectorFactory
private static class FontDetectorFactory.DefaultFontDetector extends java.lang.Object implements FontDetector
Detector of operating system and classpath fonts
-
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String[]
FONT_MIMETYPES
private static org.apache.commons.logging.Log
log
-
Constructor Summary
Constructors Modifier Constructor Description private
DefaultFontDetector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
detect(FontManager fontManager, FontAdder fontAdder, boolean strict, FontEventListener eventListener, java.util.List<EmbedFontInfo> fontInfoList)
Detect installed fonts on the system
-
-
-
Method Detail
-
detect
public void detect(FontManager fontManager, FontAdder fontAdder, boolean strict, FontEventListener eventListener, java.util.List<EmbedFontInfo> fontInfoList) throws FOPException
Detect installed fonts on the system- Specified by:
detect
in interfaceFontDetector
- Parameters:
fontInfoList
- a list of fontinfo to populate- Throws:
FOPException
- thrown if a problem occurred during detection
-
-