public class DirectoryIterator extends Object implements CloseableIterator<Path>
| Constructor and Description |
|---|
DirectoryIterator(Directory directory) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
Path |
next() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemaining, removepublic DirectoryIterator(Directory directory)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2017. All rights reserved.