|
||||||||||
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 | |
---|---|
(package private) void |
addDirsInFontDirsTxtFile(java.lang.String homeDir,
java.util.LinkedList<java.lang.String> dirs)
Adds directories specified in fontdirs.txt file to the list of directories to register |
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 GDDMethod Detail |
---|
public void loadDefaultFontDirs(java.util.LinkedList<java.lang.String> dirs)
dirs
- the linked list of directories to add fonts tovoid addDirsInFontDirsTxtFile(java.lang.String homeDir, java.util.LinkedList<java.lang.String> dirs)
homeDir
- the PLATYPUS_HOME directorydirs
- list of directories containing fonts to register with iTextpublic 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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |