Package com.google.common.jimfs
Class DowngradedDirectoryStream
- java.lang.Object
-
- com.google.common.jimfs.DowngradedDirectoryStream
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,java.lang.Iterable<java.nio.file.Path>
,java.nio.file.DirectoryStream<java.nio.file.Path>
final class DowngradedDirectoryStream extends java.lang.Object implements java.nio.file.DirectoryStream<java.nio.file.Path>
A thin wrapper around aSecureDirectoryStream
that exists only to implementDirectoryStream
and NOT implementSecureDirectoryStream
.
-
-
Field Summary
Fields Modifier and Type Field Description private java.nio.file.SecureDirectoryStream<java.nio.file.Path>
secureDirectoryStream
-
Constructor Summary
Constructors Constructor Description DowngradedDirectoryStream(java.nio.file.SecureDirectoryStream<java.nio.file.Path> secureDirectoryStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
java.util.Iterator<java.nio.file.Path>
iterator()
-
-
-
Method Detail
-
iterator
public java.util.Iterator<java.nio.file.Path> iterator()
- Specified by:
iterator
in interfacejava.nio.file.DirectoryStream<java.nio.file.Path>
- Specified by:
iterator
in interfacejava.lang.Iterable<java.nio.file.Path>
-
close
public void close() throws java.io.IOException
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Throws:
java.io.IOException
-
-