public static class IOUtils.DeleteFileOnClose extends Object implements Closeable
Closeable
too,
where file is wiped on close and thus the disk resource is released
('closed').Constructor and Description |
---|
DeleteFileOnClose(File file) |
public DeleteFileOnClose(File file)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.