public class WindowsFontDirFinder extends java.lang.Object implements FontDirFinder
Constructor and Description |
---|
WindowsFontDirFinder() |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.io.File> |
find()
Finds a list of font files.
|
private java.lang.String |
getWinDir(java.lang.String osName)
Attempts to read windir environment variable on windows (disclaimer: This is a bit dirty but seems to work
nicely).
|
private java.lang.String getWinDir(java.lang.String osName) throws java.io.IOException
java.io.IOException
public java.util.List<java.io.File> find()
find
in interface FontDirFinder