|
Platypus | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pz.platypus.FontDirectoryList
public class FontDirectoryList
List of directories containing font files.
| Field Summary | |
|---|---|
private java.util.LinkedList<java.lang.String> |
fontDirs
list of directories containing font files |
private GDD |
gdd
the GDD. |
| Constructor Summary | |
|---|---|
FontDirectoryList(GDD Gdd)
We only ever load the default list of directories. |
|
| Method Summary | |
|---|---|
private void |
addFontDir(java.util.LinkedList<java.lang.String> dirList,
java.lang.String dirName)
verifies that the directory name exists on this system. |
java.lang.String[] |
getDirs()
Get the names of the default locations for font files and return those locations as an array of strings |
void |
loadDefaultFontDirs(java.util.LinkedList<java.lang.String> dirs)
Create a list of the directories on the system that contain fonts. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.LinkedList<java.lang.String> fontDirs
private GDD gdd
| Constructor Detail |
|---|
public FontDirectoryList(GDD Gdd)
Gdd - the GDD| Method Detail |
|---|
public void loadDefaultFontDirs(java.util.LinkedList<java.lang.String> dirs)
dirs - the linked list of directories to add fonts to
private void addFontDir(java.util.LinkedList<java.lang.String> dirList,
java.lang.String dirName)
dirList - list of directories to which the new directory is addeddirName - new directory to add. If an error occurs, no directory is added.public java.lang.String[] getDirs()
|
Platypus | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||