|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.fontbox.util.autodetect.FontFileFinder
public class FontFileFinder
Helps to autodetect/locate available operating system fonts. This class is based on a class provided by Apache FOP. see org.apache.fop.fonts.autodetect.FontFileFinder
| Constructor Summary | |
|---|---|
FontFileFinder()
Default constructor. |
|
| Method Summary | |
|---|---|
List<URI> |
find()
Automagically finds a list of font files on local system. |
List<URI> |
find(String dir)
Searches a given directory for font files. |
Map<String,String> |
getCommonTTFMapping()
Provides a list of platform specific ttf name mappings. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FontFileFinder()
| Method Detail |
|---|
public List<URI> find()
throws IOException
IOException - thrown if an I/O exception of some sort has occurred
public List<URI> find(String dir)
throws IOException
dir - directory to search
IOException - thrown if an I/O exception of some sort has occurredpublic Map<String,String> getCommonTTFMapping()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||