Home
last modified time | relevance | path

Searched refs:FileVisitResult (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/file/
DSimpleFileVisitor.java57 public FileVisitResult preVisitDirectory(T dir, BasicFileAttributes attrs) in preVisitDirectory()
62 return FileVisitResult.CONTINUE; in preVisitDirectory()
72 public FileVisitResult visitFile(T file, BasicFileAttributes attrs) in visitFile()
77 return FileVisitResult.CONTINUE; in visitFile()
87 public FileVisitResult visitFileFailed(T file, IOException exc) in visitFileFailed()
104 public FileVisitResult postVisitDirectory(T dir, IOException exc) in postVisitDirectory()
110 return FileVisitResult.CONTINUE; in postVisitDirectory()
DFileVisitor.java119 FileVisitResult preVisitDirectory(T dir, BasicFileAttributes attrs) in preVisitDirectory()
135 FileVisitResult visitFile(T file, BasicFileAttributes attrs) in visitFile()
153 FileVisitResult visitFileFailed(T file, IOException exc) in visitFileFailed()
175 FileVisitResult postVisitDirectory(T dir, IOException exc) in postVisitDirectory()
DFileVisitResult.java36 public enum FileVisitResult { enum
DFiles.java2664 FileVisitResult result;
2682 if (result == FileVisitResult.SKIP_SUBTREE ||
2683 result == FileVisitResult.SKIP_SIBLINGS)
2691 if (result == FileVisitResult.SKIP_SIBLINGS)
2692 result = FileVisitResult.CONTINUE;
2699 if (Objects.requireNonNull(result) != FileVisitResult.CONTINUE) {
2700 if (result == FileVisitResult.TERMINATE) {
2702 } else if (result == FileVisitResult.SKIP_SIBLINGS) {
/libcore/ojluni/src/test/java/nio/file/
DTestUtil.java48 public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) { in removeAll()
49 return FileVisitResult.CONTINUE; in removeAll()
52 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) { in removeAll()
58 return FileVisitResult.CONTINUE; in removeAll()
61 public FileVisitResult postVisitDirectory(Path dir, IOException exc) { in removeAll()
67 return FileVisitResult.CONTINUE; in removeAll()
70 public FileVisitResult visitFileFailed(Path file, IOException exc) { in removeAll()
72 return FileVisitResult.CONTINUE; in removeAll()
/libcore/luni/src/test/java/libcore/java/nio/file/
DSimpleFileVisitorTest.java22 import java.nio.file.FileVisitResult;
36 assertEquals(FileVisitResult.CONTINUE, fileVisitor.preVisitDirectory(stubPath, in test_preVisitDirectory()
55 assertEquals(FileVisitResult.CONTINUE, fileVisitor.postVisitDirectory(stubPath, null)); in test_postVisitDirectory()
75 assertEquals(FileVisitResult.CONTINUE, fileVisitor.visitFile(stubPath, stubAttributes)); in test_visitFile()
94 assertEquals(FileVisitResult.CONTINUE, fileVisitor.visitFileFailed(stubPath, null)); in test_visitFileFailed()
100 assertEquals(FileVisitResult.CONTINUE, fileVisitor.visitFileFailed(null, in test_visitFileFailed()
107 assertEquals(FileVisitResult.CONTINUE, fileVisitor.visitFileFailed(stubPath, in test_visitFileFailed()
DFiles2Test.java43 import java.nio.file.FileVisitResult;
70 import static java.nio.file.FileVisitResult.CONTINUE;
71 import static java.nio.file.FileVisitResult.TERMINATE;
1845 public FileVisitResult preVisitDirectory(Path dir, BasicFileAttributes attrs) in preVisitDirectory()
1855 public FileVisitResult visitFile(Path file, BasicFileAttributes attrs) throws IOException { in visitFile()
1864 public FileVisitResult visitFileFailed(Path file, IOException exc) throws IOException { in visitFileFailed()
1872 public FileVisitResult postVisitDirectory(Path dir, IOException exc) throws IOException { in postVisitDirectory()
/libcore/api/
Dcurrent.txt6691 public enum FileVisitResult {
6692 enum_constant public static final java.nio.file.FileVisitResult CONTINUE;
6693 enum_constant public static final java.nio.file.FileVisitResult SKIP_SIBLINGS;
6694 enum_constant public static final java.nio.file.FileVisitResult SKIP_SUBTREE;
6695 enum_constant public static final java.nio.file.FileVisitResult TERMINATE;
6699 …method public java.nio.file.FileVisitResult postVisitDirectory(T, java.io.IOException) throws java…
6700 …method public java.nio.file.FileVisitResult preVisitDirectory(T, java.nio.file.attribute.BasicFile…
6701 …method public java.nio.file.FileVisitResult visitFile(T, java.nio.file.attribute.BasicFileAttribut…
6702 …method public java.nio.file.FileVisitResult visitFileFailed(T, java.io.IOException) throws java.io…
6872 …method public java.nio.file.FileVisitResult postVisitDirectory(T, java.io.IOException) throws java…
[all …]
/libcore/
Dopenjdk_java_files.bp473 "ojluni/src/main/java/java/nio/file/FileVisitResult.java",