DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Write Into File
// Creates a file in c:/test/ and writes into that file
File outFile = new File("C:\\test\\[FILENAME]");
outFile.createNewFile();
BufferedWriter out = new BufferedWriter(new FileWriter(outFile));
out.write([WRITING]);
out.flush();
out.close();




