Results 1 to 3 of 3
- 03-26-2008, 09:33 AM #1
Member
- Join Date
- Mar 2008
- Posts
- 24
- Rep Power
- 0
- 03-28-2008, 04:56 PM #2
Java Code:Writer output = null; output = new BufferedWriter(new FileWriter("myfile.txt")); String newline = System.getProperty("line.separator"); output.write("whatever you want"); output.write(newline); output.close();Did this post help you? Please
me! :cool:
- 03-29-2008, 07:46 AM #3
Member
- Join Date
- Mar 2008
- Posts
- 24
- Rep Power
- 0
Similar Threads
-
[SOLVED] Delete Current line from file
By Azndaddy in forum New To JavaReplies: 2Last Post: 04-06-2012, 08:00 AM -
How to Save/Load Vector to/from file
By Java Tip in forum java.langReplies: 0Last Post: 04-14-2008, 08:37 PM -
How to get Current Directory through File
By Java Tip in forum java.ioReplies: 0Last Post: 04-05-2008, 10:14 AM -
save file to database
By katerinaaa in forum New To JavaReplies: 0Last Post: 08-14-2007, 12:15 PM -
How can I make the file ALWAYS save as .txt by default
By paul in forum AWT / SwingReplies: 1Last Post: 08-07-2007, 05:09 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks