Writing to a File

If the file does not already exist, it is automatically created.
try { BufferedWriter out = new BufferedWriter(new FileWriter("outfilename")); out.write("aString"); out.close(); } catch (IOException e) { }

Comments

4 Feb 2010 - 12:43am by Anonymous (not verified)

good

26 Feb 2010 - 8:57pm by Anonymous (not verified)

GREAT!!! THANKS!! :)

12 Mar 2010 - 11:49am by Anonymous (not verified)

very good. keep working

19 Mar 2010 - 7:38am by Anonymous (not verified)

are you gonna fuck me in the arse doe ??+
+

Post a comment

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image. Ignore spaces and be careful about upper and lower case.