public class DirectoryHandle extends Handle implements Iterator<Path>
AttributeRepository.AttributeKey<T>
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() |
attributeKeys, clearAttributes, computeAttributeIfAbsent, getAttribute, getAttributesCount, getFile, getFileHandle, getSubsystem, isOpen, removeAttribute, setAttribute, signalHandleOpen, signalHandleOpening, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEachRemaining
ofAttributesMap, ofKeyValuePair, resolveAttribute
public DirectoryHandle(SftpSubsystem subsystem, Path dir, String handle) 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–2024 The Apache Software Foundation. All rights reserved.