Class DirectoryHandle
java.lang.Object
org.apache.sshd.sftp.server.Handle
org.apache.sshd.sftp.server.DirectoryHandle
- All Implemented Interfaces:
Closeable, AutoCloseable, Channel, Iterator<Path>, AttributeRepository, AttributeStore
- Author:
- Apache MINA SSHD Project
-
Nested Class Summary
Nested classes/interfaces inherited from interface AttributeRepository
AttributeRepository.AttributeKey<T> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Handle
attributeKeys, clearAttributes, computeAttributeIfAbsent, getAttribute, getAttributesCount, getFile, getFileHandle, getSubsystem, isOpen, removeAttribute, safe, setAttribute, signalHandleOpen, signalHandleOpening, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface AttributeRepository
resolveAttributeMethods inherited from interface Iterator
forEachRemaining
-
Constructor Details
-
DirectoryHandle
- Throws:
IOException
-
-
Method Details
-
isWithDots
public boolean isWithDots() -
isDone
public boolean isDone() -
markDone
public void markDone() -
isSendDot
public boolean isSendDot() -
markDotSent
public void markDotSent() -
isSendDotDot
public boolean isSendDotDot() -
markDotDotSent
public void markDotDotSent() -
hasNext
-
next
-
remove
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceChannel- Specified by:
closein interfaceCloseable- Overrides:
closein classHandle- Throws:
IOException
-