| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
File fileOut = new File("/space/users/swd/java/testFile.txt");
BufferedWriter out = new BufferedWriter(new FileWriter(fileOut));
out.write("we are writting to a file ");
out.close();
2) ** USE FILEWRITER AS I ORIGINALLY POSTED WITH HELP FROM ABOVE **
File fileOut = new File("/space/users/swd/java/testFile.txt");
FileWriter fw = new FileWriter(fileOut);
fw.write("docHeader\n");
fw.close();
IOW should I use the BufferedWriter wrapper or not?
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.