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.FileNotFoundExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterOutputStreamjava.io.IOExceptionpublic void abort()
Copyright © 2016 The Apache Software Foundation