

APPEND – Appends the new data to the end of the file.

WRITE – Opens the file for write access.The following StandardOpenOptions enums are supported: This parameter is optional and the API tells you what the default behavior is for the method when none is specified. Several of the methods in this section take an optional OpenOptions parameter. Methods for Creating Regular and Temporary Files.Methods for Unbuffered Streams and Interoperable with java.io APIs.Managing Metadata page explains file attributes, and how to access and set them. For example, on a file system that supports the POSIX set of standards (such as UNIX), you can specify a file owner, group owner, or file permissions at the time the file is created. Note: The methods for creating a new file enable you to specify an optional set of initial attributes for the file.
