| Modifier and Type | Field and Description |
|---|---|
protected Iterator<Path> |
diterator |
protected DirectoryStream<Path> |
dstream |
| Constructor and Description |
|---|
DirIterator(File path) |
DirIterator(Path path) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected void |
finalize() |
protected void |
finish() |
boolean |
hasNext() |
File |
next() |
void |
remove() |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected DirectoryStream<Path> dstream
public DirIterator(Path path) throws IOException
IOExceptionpublic DirIterator(File path) throws IOException
IOExceptionprotected void finalize()
throws Throwable
protected void finish()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2018. All rights reserved.