Class CommandLine

java.lang.Object
freemarker.core.CommandLine

public class CommandLine extends Object
FreeMarker command-line utility, the Main-Class of freemarker.jar. If invoked with no parameters it just prints the version number. If you invoke it with the filename, it reads int the file as a template and processes it with an empty data model, sending the output to stdout. Note that this command-line utility mostly exists as a convenient entry point for debugging/testing when setting up a development environment. For a serious freemarker-based command-line file processing tool we recommend FMPP.
  • Constructor Details

    • CommandLine

      public CommandLine()
  • Method Details