Home » freemarker-2.3.13 » freemarker.ext.dom » [javadoc | source]
freemarker.ext.dom
public class: Transform [javadoc | source]
java.lang.Object
   freemarker.ext.dom.Transform
A class that contains a main() method for command-line invocation of a FreeMarker XML transformation. $id$
Constructor:
 Transform(File inputFile,
    File ftlFile,
    File outputFile,
    Locale locale,
    String encoding) throws IOException 
    Parameters:
    inputFile - The file from which to read the XML input
    ftlFile - The file containing the template
    outputFile - The file to which to output. If this is null, we use stdout.
    locale - The locale to use. If this is null, we use the platform default.
    encoding - The character encoding to use for output, if this is null, we use the platform default
Method from freemarker.ext.dom.Transform Summary:
localeFromString,   main,   transform,   transformFromArgs,   usage
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from freemarker.ext.dom.Transform Detail:
 static Locale localeFromString(String ls) 
 public static  void main(String[] args) 
    A convenient main() method for command-line invocation.
  void transform() throws Exception 
    Performs the transformation.
 static Transform transformFromArgs(String[] args) throws IOException 
 static  void usage()