给你一段代码节选:
[QUOTE]
public static void saveAll(String filepath, String content)
{
PrintStream out = null;
try
{
out = new PrintStream(new FileOutputStream(filepath, true));
out.println(content);
} catch (FileNotFoundException ex3) { }
out.close();
}
[/QUOTE]