public class AtomicFileOutputStream
extends java.io.FilterOutputStream
Constructor and Description |
---|
AtomicFileOutputStream(java.io.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() |
public AtomicFileOutputStream(java.io.File f) throws java.io.FileNotFoundException
java.io.FileNotFoundException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.FilterOutputStream
java.io.IOException
public void abort()
Copyright © 2017 The Apache Software Foundation