Class FileBasedTemplateProvider

  • All Implemented Interfaces:
    TemplateProvider

    public class FileBasedTemplateProvider
    extends Object
    implements TemplateProvider
    Provides Template which are saved as OPT files in the file system.
    • Field Detail

      • OPT_FILE_MATCHER

        public static final PathMatcher OPT_FILE_MATCHER
    • Constructor Detail

      • FileBasedTemplateProvider

        public FileBasedTemplateProvider​(Path templateDirectory)
        Parameters:
        templateDirectory - Path to folder with the OPT files. Every file with ending *.opt will be parsed.