public static File writeScriptTempfile ( final Framework framework , final InputStream stream , final String source , final Reader reader , final LineEndingStyle style ) throws IOException { /* * Prepare a file to save the content */ final File scriptfile = createTempFile ( framework ) ; writeScriptFile ( stream , source , reader , style , scriptfile ) ; return scriptfile ; }
Copy a source stream or string content to a tempfile for script execution