NativeFontDirFinder (Apache FOP Core 2.11 API)
Date: 2025-04-24

org.apache.fop.fonts.autodetect

## Class NativeFontDirFinder

- java.lang.Object
- - org.apache.fop.fonts.autodetect.NativeFontDirFinder

- All Implemented Interfaces:
    FontDirFinder
  Direct Known Subclasses:
    MacFontDirFinder, UnixFontDirFinder

      public abstract class NativeFontDirFinder
      extends Object
      implements FontDirFinder

  Native font finder base class

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NativeFontDirFinder()`

  - ### Method Summary

    All Methods Instance Methods Abstract Methods Concrete Methods
    Modifier and Type | Method and 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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NativeFontDirFinder

          public NativeFontDirFinder()

  - ### Method Detail

    - #### find

          public List<File> find()

      Generic method used by Mac and Unix font finders.
      Specified by:
        `find` in interface `FontDirFinder`
      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

Copyright © 2025 Apache Software Foundation. All rights reserved.