Home | History | Annotate | Download | only in utils

Lines Matching refs:Path

25 import java.nio.file.Path;
40 private Path mDirectory;
42 private static final class DeletingVisitor extends SimpleFileVisitor<Path> {
43 FileVisitResult consume(Path path) throws IOException {
44 Files.delete(path);
49 public FileVisitResult visitFile(Path path, BasicFileAttributes basicFileAttributes)
51 return consume(path);
55 public FileVisitResult postVisitDirectory(Path path, IOException e)
57 return consume(path);
61 private static final SimpleFileVisitor<Path> DELETE = new DeletingVisitor();
63 TemporaryDirectory(Path directory) throws IOException {
85 public Path getPath() { return mDirectory; }