Uses of Class
org.apache.sshd.sftp.client.SftpVersionSelector.NamedVersionSelector
Packages that use SftpVersionSelector.NamedVersionSelector
-
Uses of SftpVersionSelector.NamedVersionSelector in org.apache.sshd.sftp.client
Fields in org.apache.sshd.sftp.client declared as SftpVersionSelector.NamedVersionSelectorModifier and TypeFieldDescriptionstatic final SftpVersionSelector.NamedVersionSelectorSftpVersionSelector.CURRENTAnSftpVersionSelectorthat returns the current versionstatic final SftpVersionSelector.NamedVersionSelectorSftpVersionSelector.MAXIMUMAnSftpVersionSelectorthat returns the maximum available versionstatic final SftpVersionSelector.NamedVersionSelectorSftpVersionSelector.MINIMUMAnSftpVersionSelectorthat returns the minimum available versionMethods in org.apache.sshd.sftp.client that return SftpVersionSelector.NamedVersionSelectorModifier and TypeMethodDescriptionSftpVersionSelector.fixedVersionSelector(int version) Creates a selector the always returns the requested (fixed version) regardless of what the current or reported available versions are.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 theSftpVersionSelector.selectVersion(ClientSession, boolean, int, List)method is invokedSftpVersionSelector.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 theSftpVersionSelector.selectVersion(ClientSession, boolean, int, List)method is invokedSftpVersionSelector.resolveVersionSelector(String selector) Parses the input string to see if it matches one of the "known" selectors names (case insensitive).