public class FolderFontSource extends FontSourceBase
| Constructor and Description |
|---|
FolderFontSource(java.lang.String folderPath,
boolean scanSubfolders)
Ctor.
|
FolderFontSource(java.lang.String folderPath,
boolean scanSubfolders,
int priority)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFolderPath()
Path to the folder.
|
java.lang.Iterable |
getFontDataInternal() |
boolean |
getScanSubfolders()
Determines whether or not to scan the subfolders.
|
int |
getType()
Returns the type of the font source.
|
getAvailableFonts, getPriority, getPriorityInternal, getWarningCallback, setWarningCallbackpublic FolderFontSource(java.lang.String folderPath,
boolean scanSubfolders)
folderPath - Path to folder.scanSubfolders - Determines whether or not to scan subfolders.public FolderFontSource(java.lang.String folderPath,
boolean scanSubfolders,
int priority)
folderPath - Path to folder.scanSubfolders - Determines whether or not to scan subfolders.priority - Font source priority. See the FontSourceBase.getPriority() property description for more information.public java.lang.String getFolderPath()
String value.public boolean getScanSubfolders()
boolean value.public int getType()
getType in class FontSourceBaseFontSourceType constants.public java.lang.Iterable getFontDataInternal()
getFontDataInternal in class FontSourceBase