Package 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)
-
Field Summary
-
Method Summary
Modifier and Type Method Description int
select(ChannelSftp.LsEntry entry)
Theselect
method will be invoked inls
method for each file entry.
-
Field Details
-
CONTINUE
static final int CONTINUE- See Also:
- Constant Field Values
-
BREAK
static final int BREAK- See Also:
- Constant Field Values
-
-
Method Details
-
select
The
select
method will be invoked inls
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.
-