Class NativeFontDirFinder
- java.lang.Object
-
- com.tom_roush.fontbox.util.autodetect.NativeFontDirFinder
-
- All Implemented Interfaces:
FontDirFinder
- Direct Known Subclasses:
AndroidFontDirFinder,MacFontDirFinder,UnixFontDirFinder
public abstract class NativeFontDirFinder extends Object implements FontDirFinder
Native font finder base class. This class is based on a class provided by Apache FOP. see com.tom_roush.fop.fonts.autodetect.NativeFontDirFinder
-
-
Constructor Summary
Constructors Constructor Description NativeFontDirFinder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description List<File>find()Generic method used by Mac and Unix font finders.protected abstract String[]getSearchableDirectories()Returns an array of directories to search for fonts in.
-
-
-
Method Detail
-
find
public List<File> find()
Generic method used by Mac and Unix font finders.- Specified by:
findin interfaceFontDirFinder- Returns:
- list of natively existing font directories list of font files.
-
getSearchableDirectories
protected abstract String[] getSearchableDirectories()
Returns an array of directories to search for fonts in.- Returns:
- an array of directories
-
-