|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.flagstone.transform.util.font.FontRegistry
public final class FontRegistry
FontRegistry is used to provide a directory for registering FontProviders that are used to decode different font formats.
| Method Summary | |
|---|---|
static FontDecoder |
getFontProvider(String type)
Get the provider that can be used to decode a given font format. |
static void |
registerProvider(String mimeType,
FontProvider decoder)
Register a FontDecoder to handle fonts in the specified format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void registerProvider(String mimeType,
FontProvider decoder)
mimeType - the string identifying the image format.decoder - any class that implements the FontDecoder interface.public static FontDecoder getFontProvider(String type)
type - string defined in FontEncoding identifying the font format.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||