public class DirectoryHandle extends Handle implements Iterator<Path>
| Constructor and Description |
|---|
DirectoryHandle(Path file) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasNext() |
boolean |
isDone() |
boolean |
isSendDot() |
boolean |
isSendDotDot() |
void |
markDone() |
void |
markDotDotSent() |
void |
markDotSent() |
Path |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingpublic DirectoryHandle(Path file) throws IOException
IOExceptionpublic boolean isDone()
public void markDone()
public boolean isSendDot()
public void markDotSent()
public boolean isSendDotDot()
public void markDotDotSent()
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class HandleIOExceptionCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.