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, wait
forEachRemaining
public DirectoryHandle(Path file) throws IOException
IOException
public 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 Closeable
close
in interface AutoCloseable
close
in interface Channel
close
in class Handle
IOException
Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.