i have some input from user, and will save into a text file.
Title : "will go for cousin wedding"
Date : "9/9/06"
Note : "borrow car from uncle"
all
string data from user.
which class i should use? FileOutputStream, BufferedOutputStream, StringWriter etc....
and i want every record in text file in new line , such as:
abc.txt
-----------------------------------------------------------
will go for cousin wedding, 9/9/06, borrow car from uncle // a record
here is another record of inputs. // another record
-----------------------------------------------------------
how to do that?