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

public Interface ExtensionParser<T>

extends NamedResource, Function<byte[], T>
Known Direct Implementers
org.apache.sshd.sftp.common.extensions.AbstractParser
Type Parameters
<T>
Result type
Imports
java.util.function.Function, org.apache.sshd.common.NamedResource, org.apache.sshd.common.util.NumberUtils

Author
Apache MINA SSHD Project

Field Summary

Inherited from org.apache.sshd.common.NamedResource:
BY_NAME_COMPARATORNAME_EXTRACTOR

Method Summary

Modifier and TypeMethod and Description
public default T
apply(byte[]
the function argument
input
)

Implements java.util.function.Function.apply.

Applies this function to the given argument.

public default T
parse(byte[] input)

public T
parse(byte[] input, int offset, int len)

Inherited from java.util.function.Function:
andThencomposeidentity
Inherited from org.apache.sshd.common.NamedResource:
findByNamefindFirstMatchByNamegetNamegetNameListgetNamesofNameremoveByNamesafeCompareByName

Method Detail

applyback to summary
public default T apply(byte[] input)

Implements java.util.function.Function.apply.

Doc from java.util.function.Function.apply.

Applies this function to the given argument.

Parameters
input:byte[]

the function argument

Returns:T

the function result

Annotations
@Override
parseback to summary
public default T parse(byte[] input)
parseback to summary
public T parse(byte[] input, int offset, int len)