SecureDirectoryStream
Interface SecureDirectoryStream<T>
- All Superinterfaces:
- AutoCloseable, Closeable, DirectoryStream<T>, Iterable<T>
public interface SecureDirectoryStream<T> extends DirectoryStream<T>
A DirectoryStream
that defines operations on files that are located relative to an open directory. A SecureDirectoryStream
is intended for use by sophisticated or security sensitive applications requiring to traverse file trees or otherwise operate on directories in a race-free manner. Race conditions can arise when a sequence of file operations cannot be carried out in isolation. Each of the file operations defined b