public class FontFileFinder
extends java.lang.Object
Constructor and Description |
---|
FontFileFinder()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<java.net.URI> |
find()
Automagically finds a list of font files on local system.
|
java.util.List<java.net.URI> |
find(java.lang.String dir)
Searches a given directory for font files.
|
java.util.Map<java.lang.String,java.lang.String> |
getCommonTTFMapping()
Provides a list of platform specific ttf name mappings.
|
public java.util.List<java.net.URI> find() throws java.io.IOException
java.io.IOException
- io exception public java.util.List<java.net.URI> find(java.lang.String dir) throws java.io.IOException
dir
- directory to searchjava.io.IOException
- thrown if an I/O exception of some sort has occurredpublic java.util.Map<java.lang.String,java.lang.String> getCommonTTFMapping()