Package | Description |
---|---|
org.apache.sshd.sftp.client |
Modifier and Type | Field and Description |
---|---|
static SftpVersionSelector.NamedVersionSelector |
SftpVersionSelector.CURRENT
An
SftpVersionSelector that returns the current version |
static SftpVersionSelector.NamedVersionSelector |
SftpVersionSelector.MAXIMUM
An
SftpVersionSelector that returns the maximum available version |
static SftpVersionSelector.NamedVersionSelector |
SftpVersionSelector.MINIMUM
An
SftpVersionSelector that returns the minimum available version |
Modifier and Type | Method and Description |
---|---|
static SftpVersionSelector.NamedVersionSelector |
SftpVersionSelector.fixedVersionSelector(int version)
Creates a selector the always returns the requested (fixed version) regardless of what the current or reported
available versions are.
|
static SftpVersionSelector.NamedVersionSelector |
SftpVersionSelector.preferredVersionSelector(int... preferred)
Selects a version in order of preference - if none of the preferred versions is listed as available then an
exception is thrown when the
SftpVersionSelector.selectVersion(ClientSession, boolean, int, List) method
is invoked |
static SftpVersionSelector.NamedVersionSelector |
SftpVersionSelector.preferredVersionSelector(Iterable<? extends Number> preferred)
Selects a version in order of preference - if none of the preferred versions is listed as available then an
exception is thrown when the
SftpVersionSelector.selectVersion(ClientSession, boolean, int, List) method
is invoked |
static SftpVersionSelector.NamedVersionSelector |
SftpVersionSelector.resolveVersionSelector(String selector)
Parses the input string to see if it matches one of the "known" selectors names (case insensitive).
|
Copyright © 2008–2024 The Apache Software Foundation. All rights reserved.