public class FontListGenerator
extends java.lang.Object
Constructor and Description |
---|
FontListGenerator() |
Modifier and Type | Method and Description |
---|---|
java.util.SortedMap |
listFonts(FopFactory fopFactory,
java.lang.String mime,
FontEventListener listener)
List all fonts configured for a particular output format (identified by MIME type).
|
public java.util.SortedMap listFonts(FopFactory fopFactory, java.lang.String mime, FontEventListener listener) throws FOPException
SortedMap<String/font-family, List<FontSpec
>>
fopFactory
- the FOP factory (already configured)mime
- the MIME type identified the selected output formatlistener
- a font event listener to catch any font-related errors while listing fontsFOPException
- if an error occurs setting up the fontsCopyright 1999-2012 The Apache Software Foundation. All Rights Reserved.