Class SftpIterableDirEntry

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private SftpClient client  
      private java.lang.String path  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      SftpClient getClient()
      The client instance
      java.lang.String getPath()
      The remotely accessed directory path
      SftpDirEntryIterator iterator()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Field Detail

      • path

        private final java.lang.String path
    • Constructor Detail

      • SftpIterableDirEntry

        public SftpIterableDirEntry​(SftpClient client,
                                    java.lang.String path)
        Parameters:
        client - The SftpClient instance to use for the iteration
        path - The remote directory path
    • Method Detail

      • getClient

        public final SftpClient getClient()
        The client instance
        Returns:
        SftpClient instance used to access the remote file
      • getPath

        public final java.lang.String getPath()
        The remotely accessed directory path
        Returns:
        Remote directory path