If the file does not exist, it will be created. If already exists, it will be overwritten. If it cannot be overwritten or created, an exception will be thrown.
This method will save using the system default encoding, or possibly using UTF8. @param file File to save to. @throws IOException Thrown when the given file cannot be written to forany reason. @throws IllegalArgumentException Thrown when file is null.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|