1.3中没有这个方法,参看: FileWriterpublic FileWriter(File file, boolean append) throws IOException Constructs a FileWriter object given a File object. If the second argument is true, then bytes will be written to the end of the file rather than the beginning. Parameters:file - a File object to write to append - if true, then bytes will be written to the end of the file rather than the beginningThrows:IOException - if the file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reasonSince:1.4
FileWriterpublic FileWriter(File file,
boolean append)
throws IOException
Constructs a FileWriter object given a File object. If the second argument is true, then bytes will be written to the end of the file rather than the beginning.
Parameters:file - a File object to write to
append - if true, then bytes will be written to the end of the file rather than the beginningThrows:IOException - if the file exists but is a directory rather than a regular file, does not exist but cannot be created, or cannot be opened for any other reasonSince:1.4