freemarker.ext.ant
public class: UnlinkedJythonOperationsImpl [javadoc |
source]
java.lang.Object
freemarker.ext.ant.UnlinkedJythonOperationsImpl
All Implemented Interfaces:
UnlinkedJythonOperations
Used internally, public for technical reasons only.
Method from freemarker.ext.ant.UnlinkedJythonOperationsImpl Summary: |
---|
execute, execute |
Method from freemarker.ext.ant.UnlinkedJythonOperationsImpl Detail: |
public void execute(String script,
Map vars) throws BuildException {
PythonInterpreter pi = createInterpreter(vars);
pi.exec(script);
}
|
public void execute(File file,
Map vars) throws BuildException {
PythonInterpreter pi = createInterpreter(vars);
try {
pi.execfile(file.getCanonicalPath());
} catch (IOException e) {
throw new BuildException(e);
}
}
|