Java java.nio.file DirectoryStream fields, constructors, methods, implement or subclass

Example usage for Java java.nio.file DirectoryStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.nio.file DirectoryStream.

The text is from its open source code.

Method

voidclose()
Closes this stream and releases any system resources associated with it.
voidforEach(Consumer action)
Performs the given action for each element of the Iterable until all elements have been processed or the action throws an exception.
Iteratoriterator()
Returns the iterator associated with this DirectoryStream .
Spliteratorspliterator()
Creates a Spliterator over the elements described by this Iterable .