public class RootedDirectoryStream extends Object implements DirectoryStream<Path>
RootedFileSystem
DirectoryStream.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, wait
forEach, spliterator
protected final RootedFileSystem rfs
protected final DirectoryStream<Path> delegate
public RootedDirectoryStream(RootedFileSystem rfs, DirectoryStream<Path> delegate)
public void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
protected Iterator<Path> root(RootedFileSystem rfs, Iterator<Path> iter)
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.