Class FileLocator

    • Constructor Summary

      Constructors 
      Constructor Description
      FileLocator()
      initializes the locator with the base dir for relative paths set to the current working dir
      FileLocator​(java.io.File baseDir)  
    • Constructor Detail

      • FileLocator

        public FileLocator()
        initializes the locator with the base dir for relative paths set to the current working dir
      • FileLocator

        public FileLocator​(java.io.File baseDir)
                    throws java.io.FileNotFoundException
        Throws:
        java.io.FileNotFoundException
    • Method Detail

      • getString

        public java.lang.String getString​(java.lang.String name,
                                          java.nio.charset.Charset encoding,
                                          JinjavaInterpreter interpreter)
                                   throws java.io.IOException
        Specified by:
        getString in interface ResourceLocator
        Throws:
        java.io.IOException