Class TempPathResource
- java.lang.Object
-
- com.carrotsearch.randomizedtesting.TempPathResource
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
public class TempPathResource extends java.lang.Object implements java.io.CloseableA temporary path resource will be deleted at the end of a given lifecycle phase.
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.file.Pathlocation
-
Constructor Summary
Constructors Constructor Description TempPathResource(java.nio.file.Path location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()
-