com.jcraft.jsch
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)
CONTINUE
static final int CONTINUE
- See Also:
- Constant Field Values
BREAK
static final int BREAK
- See Also:
- Constant Field Values
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.