Package com.io7m.idstore.server.internal.freemarker

# Class IdFMTemplateLoader

java.lang.Object
com.io7m.idstore.server.internal.freemarker.IdFMTemplateLoader

All Implemented Interfaces:
  `freemarker.cache.TemplateLoader`

public final class IdFMTemplateLoader extends Object implements freemarker.cache.TemplateLoader
A freemarker template loader.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IdFMTemplateLoader()`
  A freemarker template loader.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `closeTemplateSource(Object templateSource)`
  `Object`
  `findTemplateSource(String name)`
  `long`
  `getLastModified(Object templateSource)`
  `Reader`
  `getReader(Object templateSource, String encoding)`

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

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

- ## Constructor Details

  - ### IdFMTemplateLoader

    public IdFMTemplateLoader()
    A freemarker template loader.

- ## Method Details

  - ### findTemplateSource

    public Object findTemplateSource(String name)
    Specified by:
      `findTemplateSource` in interface `freemarker.cache.TemplateLoader`

  - ### getLastModified

    public long getLastModified(Object templateSource)
    Specified by:
      `getLastModified` in interface `freemarker.cache.TemplateLoader`

  - ### getReader

    public Reader getReader(Object templateSource, String encoding) throws IOException
    Specified by:
      `getReader` in interface `freemarker.cache.TemplateLoader`
    Throws:
      `IOException`

  - ### closeTemplateSource

    public void closeTemplateSource(Object templateSource) throws IOException
    Specified by:
      `closeTemplateSource` in interface `freemarker.cache.TemplateLoader`
    Throws:
      `IOException`