Package com.azure.storage.blob.nio
Class AzureDirectoryStream
java.lang.Object
com.azure.storage.blob.nio.AzureDirectoryStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<Path>
,DirectoryStream<Path>
A type for iterating over the contents of a directory.
This type is asynchronously closeable, i.e. closing the stream from any thread will cause the stream to stop
returning elements at that point.
-
Nested Class Summary
Nested classes/interfaces inherited from interface java.nio.file.DirectoryStream
DirectoryStream.Filter<T extends Object>
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
iterator
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-