Searched defs:DirectoryStream (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/classes/java/nio/file/
H A DDirectoryStream.java37 * <p> <b> While {@code DirectoryStream} extends {@code Iterable}, it is not a
50 * <p> A {@code DirectoryStream} is opened upon creation and is closed by
57 * try (DirectoryStream&lt;Path&gt; stream = Files.newDirectoryStream(dir)) {
93 * to the directory that occur after the {@code DirectoryStream} is created.
101 * try (DirectoryStream&lt;Path&gt; stream = Files.newDirectoryStream(dir, "*.{c,h,cpp,hpp,java}")) {
119 public interface DirectoryStream<T> interface in inherits:Closeable,Iterable
125 * parameter to the {@link Files#newDirectoryStream(Path,DirectoryStream.Filter)}
149 * Returns the iterator associated with this {@code DirectoryStream}.
151 * @return the iterator associated with this {@code DirectoryStream}

Completed in 29 milliseconds