public static interface ChannelSftp.LsEntrySelector
ls
method.ChannelSftp.LsEntry
,
ChannelSftp.ls(String, ChannelSftp.LsEntrySelector)
Modifier and Type | Method and Description |
---|---|
int |
select(ChannelSftp.LsEntry entry)
The
select method will be invoked in ls
method for each file entry. |
static final int CONTINUE
static final int BREAK
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.
entry
- one of entry from ls