[Pogamut-list] Writing to an external file

michal.bida pogamut-forum at artemis.ms.mff.cuni.cz
Sat Jul 18 12:32:29 CEST 2009


Re: Writing to an external file

Author: michal.bida

You have to have acces to the folder/disk/file you are using to write an output to. Then you can create a text file output for example by:

    BufferedWriter out = new BufferedWriter(new FileWriter("text_file.txt"));
    out.append("some text in our text file \n");
    out.close();

If you continue to have any troubles, consult some java file io tutorials.

Best,
michal





More information about the Pogamut-list mailing list