Package com.google.common.jimfs
Class DowngradedDirectoryStream
java.lang.Object
com.google.common.jimfs.DowngradedDirectoryStream
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Iterable<Path>
,DirectoryStream<Path>
A thin wrapper around a
SecureDirectoryStream
that exists only to implement DirectoryStream
and NOT implement SecureDirectoryStream
.-
Nested Class Summary
Nested classes/interfaces inherited from interface java.nio.file.DirectoryStream
DirectoryStream.Filter<T>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDowngradedDirectoryStream
(SecureDirectoryStream<Path> secureDirectoryStream) -
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
-
Field Details
-
secureDirectoryStream
-
-
Constructor Details
-
DowngradedDirectoryStream
DowngradedDirectoryStream(SecureDirectoryStream<Path> secureDirectoryStream)
-
-
Method Details
-
iterator
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-