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, write
public AtomicFileOutputStream(File f) throws FileNotFoundException
FileNotFoundException
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
close
in class FilterOutputStream
IOException
public void abort()
Copyright © 2008–2020 Apache Software Foundation. All rights reserved.