public class DirectoryHandle extends Handle implements Iterator<Path>
| Constructor and Description |
|---|
DirectoryHandle(SftpSubsystem subsystem,
Path dir,
String handle) |
| 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() |
getFile, getFileHandle, isOpen, signalHandleOpen, signalHandleOpening, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingpublic DirectoryHandle(SftpSubsystem subsystem, Path dir, String handle) 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 interface Channelclose in class HandleIOExceptionCopyright © 2008–2017 The Apache Software Foundation. All rights reserved.