Class AutoClosablePath

  • All Implemented Interfaces:
    AutoCloseable

    public final class AutoClosablePath
    extends Object
    implements AutoCloseable
    Utility class to delete a given Path when exiting a try-with-resources statement.