public final class AutoClosablePath extends Object implements AutoCloseable
Path
when exiting a try-with-resources statement.Constructor and Description |
---|
AutoClosablePath(Path path) |
public AutoClosablePath(Path path)
public void close() throws IOException
close
in interface AutoCloseable
IOException
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.