Closeable, Flushable, Appendable, AutoCloseablepublic class TempFileWriter extends PrivateFileWriter
The standard File.createTempFile(java.lang.String, java.lang.String, java.io.File) method has a number of problems. This is
an attempt to counter some of its problems. - file is made accessible by user
only on write (when supported) - file can be deleted properly after use (it
is always deleted automatically on exit)
logger| Constructor | Description |
|---|---|
TempFileWriter(String prefix,
String suffix) |
Create a temporary file
See File.createTempFile() for a description of the arguments.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappend, append, close, flush, getEncodingdelete, ensurePermissions, getFile, getOutputStream, getPath, write, write, write, write, writepublic TempFileWriter(String prefix, String suffix) throws IOException
prefix - suffix - IOExceptionCopyright © 2010-2018 Nikhef / Stichting FOM. All Rights Reserved.