Top Inners Fields Constructors Methods
org.apache.sshd.sftp.common.extensions

public Class VersionsParser

extends AbstractParser<VersionsParser.Versions>
Class Inheritance
Imports
java.nio.charset.StandardCharsets, java.util.ArrayList, .Arrays, .Collection, .Collections, .List, .Set, org.apache.sshd.common.util.GenericUtils, .NumberUtils, org.apache.sshd.sftp.common.SftpConstants, org.apache.sshd.sftp.common.extensions.VersionsParser.Versions

Author
Apache MINA SSHD Project

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
VersionsParser.Versions

The "versions" extension data as per DRAFT 09 Section 4.6

Field Summary

Modifier and TypeField and Description
public static final VersionsParser

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public VersionsParser.Versions
parse(byte[] input, int offset, int len)

Implements org.apache.sshd.sftp.common.extensions.ExtensionParser.parse.

public VersionsParser.Versions
parse(String value)

Inherited from org.apache.sshd.sftp.common.extensions.AbstractParser:
getName

Field Detail

INSTANCEback to summary
public static final VersionsParser INSTANCE

Constructor Detail

VersionsParserback to summary
public VersionsParser()

Method Detail

parseback to summary
public VersionsParser.Versions parse(byte[] input, int offset, int len)

Implements org.apache.sshd.sftp.common.extensions.ExtensionParser.parse.

Annotations
@Override
parseback to summary
public VersionsParser.Versions parse(String value)
org.apache.sshd.sftp.common.extensions back to summary

public Class VersionsParser.Versions

extends Object
Class Inheritance
  • java.lang.Object
  • org.apache.sshd.sftp.common.extensions.VersionsParser.Versions

The "versions" extension data as per DRAFT 09 Section 4.6
Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
public static final char
private List<String>

Constructor Summary

AccessConstructor and Description
public
public
Versions(List<String> versions)

Method Summary

Modifier and TypeMethod and Description
public List<String>
public List<Integer>
public void
setVersions(List<String> versions)

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

SEPback to summary
public static final char SEP
versionsback to summary
private List<String> versions

Constructor Detail

Versionsback to summary
public Versions()
Versionsback to summary
public Versions(List<String> versions)

Method Detail

getVersionsback to summary
public List<String> getVersions()
resolveAvailableVersionsback to summary
public List<Integer> resolveAvailableVersions(int current)
setVersionsback to summary
public void setVersions(List<String> versions)
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@Override