public class CloseableFile extends Object implements Closeable
File, which must be closed when done with it in order to release resources.| Modifier and Type | Field and Description |
|---|---|
boolean |
deleteOnClose |
File |
file |
| Constructor and Description |
|---|
CloseableFile(File file,
boolean deleteOnClose) |
public final boolean deleteOnClose
public CloseableFile(File file, boolean deleteOnClose)
public void close() throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2019 Nuxeo. All rights reserved.