jquery/build/js/writeFile.js
2006-08-13 15:12:35 +00:00

8 lines
163 B
JavaScript

importPackage(java.io);
function writeFile( file, stream ) {
var buffer = new PrintWriter( new FileWriter( file ) );
buffer.print( stream );
buffer.close();
}