public class WrappingDirectoryStream extends Object implements DirectoryStream<Path>
DirectoryStream
returned by Files.newDirectoryStream(java.nio.file.Path)
since the returned class
may be private and Velocity tries to call it.
See VELOCITY-870
DirectoryStream.Filter<T>
Constructor and Description |
---|
WrappingDirectoryStream(DirectoryStream<Path> wrappedDirectoryStream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
Iterator<Path> |
iterator() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public WrappingDirectoryStream(DirectoryStream<Path> wrappedDirectoryStream)
wrappedDirectoryStream
- the instance we're wrappingpublic void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
Copyright © 2004–2021 XWiki. All rights reserved.