write
Writes the contents of a Buffer to the file associated with the abstract pathname. The File will be truncated if it exists.
Parameters
excl
The OpenExcl desired for this open operation. If null
, then OpenExcl.MaybeCreate.DEFAULT will be used.
Throws
UnsupportedOperationException
If Node.js is not being used.
Writes the contents of a Buffer to the file associated with the abstract pathname.
Parameters
excl
The OpenExcl desired for this open operation. If null
, then OpenExcl.MaybeCreate.DEFAULT will be used.
appending
If true
, data written to this file will occur at the end of the file. If false
, the file will be truncated if it exists.
Throws
UnsupportedOperationException
If Node.js is not being used.