public class RootedDirectoryStream extends Object implements DirectoryStream<Path>
RootedFileSystemDirectoryStream.Filter<T>| Modifier and Type | Field and Description |
|---|---|
protected DirectoryStream<Path> |
delegate |
protected RootedFileSystem |
rfs |
| Constructor and Description |
|---|
RootedDirectoryStream(RootedFileSystem rfs,
DirectoryStream<Path> delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Iterator<Path> |
iterator() |
protected Iterator<Path> |
root(RootedFileSystem rfs,
Iterator<Path> iter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorprotected final RootedFileSystem rfs
protected final DirectoryStream<Path> delegate
public RootedDirectoryStream(RootedFileSystem rfs, DirectoryStream<Path> delegate)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected Iterator<Path> root(RootedFileSystem rfs, Iterator<Path> iter)
Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.