Top Description Fields Constructors Methods
org.apache.fontbox.util.autodetect

public abstract Class NativeFontDirFinder

extends Object
implements FontDirFinder
Class Inheritance
All Implemented Interfaces
org.apache.fontbox.util.autodetect.FontDirFinder
Known Direct Subclasses
org.apache.fontbox.util.autodetect.OS400FontDirFinder, org.apache.fontbox.util.autodetect.UnixFontDirFinder, org.apache.fontbox.util.autodetect.MacFontDirFinder
Imports
java.io.File, java.util.List, org.apache.commons.logging.Log, .LogFactory

Native font finder base class. This class is based on a class provided by Apache FOP. see org.apache.fop.fonts.autodetect.NativeFontDirFinder

Field Summary

Modifier and TypeField and Description
private static final Log

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<File>

Returns:

list of natively existing font directories list of font files.
find
()

Implements org.apache.fontbox.util.autodetect.FontDirFinder.find.

Generic method used by Mac and Unix font finders.

protected abstract String[]

Returns:

an array of directories
getSearchableDirectories
()

Returns an array of directories to search for fonts in.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

LOGback to summary
private static final Log LOG

Constructor Detail

NativeFontDirFinderback to summary
public NativeFontDirFinder()

Method Detail

findback to summary
public List<File> find()

Implements org.apache.fontbox.util.autodetect.FontDirFinder.find.

Generic method used by Mac and Unix font finders.

Returns:List<File>

Doc from org.apache.fontbox.util.autodetect.FontDirFinder.find.

list of natively existing font directories list of font files.

Annotations
@Override
getSearchableDirectoriesback to summary
protected abstract String[] getSearchableDirectories()

Returns an array of directories to search for fonts in.

Returns:String[]

an array of directories