|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FontDecoder
FontDecoder is an interface that classes used to decode different fonts formats should implement in order to be registered with the FontRegistry.
| Method Summary | |
|---|---|
List<Font> |
getFonts()
Get the list of fonts decoded. |
void |
read(File file)
Read a font from a file. |
void |
read(URL url)
Read a font from a file referenced by a URL. |
| Method Detail |
|---|
void read(File file)
throws IOException,
DataFormatException
file - the path to the file.
IOException - if there is an error reading the font data.
DataFormatException - if the file contains an unsupported format.
void read(URL url)
throws IOException,
DataFormatException
url - the reference to the file.
IOException - if there is an error reading the font data.
DataFormatException - if the file contains an unsupported format.List<Font> getFonts()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||