Interface TemplateFactory

    • Method Detail

      • prepareTemplateFile

        PreparedTemplate prepareTemplateFile​(java.io.File inputTemplateFile,
                                             PrepareOptions options)
                                      throws java.io.IOException
        Preprocesses a raw template file.
        Parameters:
        inputTemplateFile - raw template file of known type.
        options - template preparation options.
        Returns:
        preprocessed template file
        Throws:
        java.io.IOException - on file system error
        java.lang.IllegalArgumentException - when argument is null, unknown type or does not exist
        java.io.FileNotFoundException - when file does not exist
      • prepareTemplateFile

        default PreparedTemplate prepareTemplateFile​(java.io.File inputTemplateFile)
                                              throws java.io.IOException
        Throws:
        java.io.IOException