Interface ChannelSftp.LsEntrySelector

Enclosing class:
ChannelSftp

public static interface ChannelSftp.LsEntrySelector
This interface will be passed as an argument for ls method.
Since:
0.1.47
See Also:
ChannelSftp.LsEntry, ChannelSftp.ls(String, ChannelSftp.LsEntrySelector)
  • Field Summary

    Fields
    Modifier and Type Field Description
    static int BREAK  
    static int CONTINUE  
  • Method Summary

    Modifier and Type Method Description
    int select​(ChannelSftp.LsEntry entry)
    The select method will be invoked in ls method for each file entry.
  • Field Details

  • Method Details

    • select

      int select​(ChannelSftp.LsEntry entry)

      The select method will be invoked in ls method for each file entry. If this method returns BREAK, ls will be canceled.

      Parameters:
      entry - one of entry from ls
      Returns:
      if BREAK is returned, the 'ls' operation will be canceled.