> BufferedWriter for keep the data in buffer -temporary
Wrong.....
> PrintWriter for kepp the data in file or -permanent
Wrong again.
Read the java docs (http://java.sun.com/j2se/1.5.0/docs/api/) or an appropriate tutorial.
You may also find this useful: http://java.sun.com/docs/books/tutorial/essential/io/overview.html