Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.fop.fonts
Interface FontCacheManager

    public interface FontCacheManager

Fop cache (currently only used for font info caching)

Method Summary
`void` | `delete()` Deletes the font cache from the file-system.
`FontCache` | `load()` Loads the font cache into memory from the given file.
`void` | `save()` Serializes the font cache to file.
`void` | `setCacheFile(java.net.URI fontCacheURI)` Sets the font cache file given the URI pointing to the file.

Method Detail

### setCacheFile

    void setCacheFile(java.net.URI fontCacheURI)

  Sets the font cache file given the URI pointing to the file.

  Parameters:
    `fontCacheURI` - the font cache URI

### load

    FontCache load()

  Loads the font cache into memory from the given file.

  Returns:
    the de-serialized font cache

### save

    void save()
              throws FOPException

  Serializes the font cache to file.

  Throws:
    `FOPException` - if an error occurs serializing the font cache

### delete

    void delete()
                throws FOPException

  Deletes the font cache from the file-system.

  Throws:
    `FOPException` - if an error occurs deleting the font cache

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 2.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2017 The Apache Software Foundation. All Rights Reserved.