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, waitforEach, spliteratorpublic WrappingDirectoryStream(DirectoryStream<Path> wrappedDirectoryStream)
wrappedDirectoryStream - the instance we're wrappingpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2004–2016 XWiki. All rights reserved.