org.apache.sshd.server.sftp
Class SftpSubsystem.DirectoryHandle

java.lang.Object
  extended by org.apache.sshd.server.sftp.SftpSubsystem.Handle
      extended by org.apache.sshd.server.sftp.SftpSubsystem.DirectoryHandle
All Implemented Interfaces:
java.util.Iterator<SshFile>
Enclosing class:
SftpSubsystem

protected static class SftpSubsystem.DirectoryHandle
extends SftpSubsystem.Handle
implements java.util.Iterator<SshFile>


Constructor Summary
SftpSubsystem.DirectoryHandle(SshFile file)
           
 
Method Summary
 void clearFileList()
           
 boolean hasNext()
           
 boolean isDone()
           
 SshFile next()
           
 void remove()
           
 void setDone(boolean done)
           
 
Methods inherited from class org.apache.sshd.server.sftp.SftpSubsystem.Handle
close, getFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SftpSubsystem.DirectoryHandle

public SftpSubsystem.DirectoryHandle(SshFile file)
Method Detail

isDone

public boolean isDone()

setDone

public void setDone(boolean done)

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<SshFile>

next

public SshFile next()
Specified by:
next in interface java.util.Iterator<SshFile>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<SshFile>

clearFileList

public void clearFileList()


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.