public class AtomicFileOutputStream extends FilterOutputStream
out| Constructor and Description |
|---|
AtomicFileOutputStream(File f) |
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Close the atomic file, but do not "commit" the temporary file
on top of the destination.
|
void |
close() |
flush, write, write, writepublic AtomicFileOutputStream(File f) throws FileNotFoundException
FileNotFoundExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class FilterOutputStreamIOExceptionpublic void abort()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.