Example usage for Java java.nio.file DirectoryStream fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Closes this stream and releases any system resources associated with it. |
void | forEach(Consumer super T> action) Performs the given action for each element of the Iterable until all elements have been processed or the action throws an exception. |
Iterator | iterator() Returns the iterator associated with this DirectoryStream . |
Spliterator | spliterator() Creates a Spliterator over the elements described by this Iterable . |