Class NativeFontDirFinder
java.lang.Object
org.docx4j.fonts.fop.fonts.autodetect.NativeFontDirFinder
- All Implemented Interfaces:
FontFinder
- Direct Known Subclasses:
MacFontDirFinder,UnixFontDirFinder
public abstract class NativeFontDirFinder extends java.lang.Object implements FontFinder
Native font finder base class
-
Constructor Summary
Constructors Constructor Description NativeFontDirFinder() -
Method Summary
Modifier and Type Method Description java.util.Listfind()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.
-
Constructor Details
-
NativeFontDirFinder
public NativeFontDirFinder()
-
-
Method Details
-
find
public java.util.List find()Generic method used by Mac and Unix font finders.- Specified by:
findin interfaceFontFinder- Returns:
- list of natively existing font directories list of font files. List<URL> in the case of the FontFinder, and List<File> in the case of the FonrDirFinders.
-
getSearchableDirectories
protected abstract java.lang.String[] getSearchableDirectories()Returns an array of directories to search for fonts in.- Returns:
- an array of directories
-