Class FileTemplateLoader

  • All Implemented Interfaces:
    TemplateLoader

    public class FileTemplateLoader
    extends URLTemplateLoader
    Load templates from the file system. A base path must be specified at creation time. The base path serve as template repository.
    Since:
    0.1.0
    • Constructor Detail

      • FileTemplateLoader

        public FileTemplateLoader​(java.io.File basedir,
                                  java.lang.String suffix)
        Creates a new FileTemplateLoader.
        Parameters:
        basedir - The base directory. Required.
        suffix - The view suffix. Required.
      • FileTemplateLoader

        public FileTemplateLoader​(java.io.File basedir)
        Creates a new FileTemplateLoader.
        Parameters:
        basedir - The base directory. Required.
      • FileTemplateLoader

        public FileTemplateLoader​(java.lang.String basedir,
                                  java.lang.String suffix)
        Creates a new FileTemplateLoader.
        Parameters:
        basedir - The base directory. Required.
        suffix - The view suffix. Required.
      • FileTemplateLoader

        public FileTemplateLoader​(java.lang.String basedir)
        Creates a new FileTemplateLoader.
        Parameters:
        basedir - The base directory. Required.