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 aSecureDirectoryStreamthat exists only to implementDirectoryStreamand 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 voidclose()java.util.Iterator<java.nio.file.Path>iterator()
-
-
-
Method Detail
-
iterator
public java.util.Iterator<java.nio.file.Path> iterator()
- Specified by:
iteratorin interfacejava.nio.file.DirectoryStream<java.nio.file.Path>- Specified by:
iteratorin interfacejava.lang.Iterable<java.nio.file.Path>
-
close
public void close() throws java.io.IOException- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable- Throws:
java.io.IOException
-
-