Class NativeFontDirFinder
java.lang.Object
org.docx4j.fonts.fop.fonts.autodetect.NativeFontDirFinder
- All Implemented Interfaces:
FontDirFinder
- Direct Known Subclasses:
MacFontDirFinder,UnixFontDirFinder
public abstract class NativeFontDirFinder extends java.lang.Object implements FontDirFinder
Native font finder base class
-
Constructor Summary
Constructors Constructor Description NativeFontDirFinder() -
Method Summary
Modifier and Type Method Description java.util.List<java.io.File>find()Generic method used by Mac and Unix font finders.protected abstract java.lang.String[]getSearchableDirectories()Returns an array of directories to search for fonts in.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
NativeFontDirFinder
public NativeFontDirFinder()
-
-
Method Details
-
find
public java.util.List<java.io.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 java.lang.String[] getSearchableDirectories()Returns an array of directories to search for fonts in.- Returns:
- an array of directories
-