Interface ExtensionParser<T>

Type Parameters:
T - Result type
All Superinterfaces:
Function<byte[],T>, org.apache.sshd.common.NamedResource
All Known Implementing Classes:
AbstractOpenSSHExtensionParser, AbstractParser, AclSupportedParser, FilenameCharsetParser, FstatVfsExtensionParser, FsyncExtensionParser, HardLinkExtensionParser, LimitsExtensionParser, LSetStatExtensionParser, NewlineParser, PosixRenameExtensionParser, StatVfsExtensionParser, Supported2Parser, SupportedParser, VendorIdParser, VersionsParser

public interface ExtensionParser<T> extends org.apache.sshd.common.NamedResource, Function<byte[],T>
Author:
Apache MINA SSHD Project
  • Field Summary

    Fields inherited from interface org.apache.sshd.common.NamedResource

    BY_NAME_COMPARATOR, NAME_EXTRACTOR
  • Method Summary

    Modifier and Type
    Method
    Description
    default T
    apply(byte[] input)
     
    default T
    parse(byte[] input)
     
    parse(byte[] input, int offset, int len)
     

    Methods inherited from interface java.util.function.Function

    andThen, compose

    Methods inherited from interface org.apache.sshd.common.NamedResource

    getName
  • Method Details

    • parse

      default T parse(byte[] input)
    • parse

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

      default T apply(byte[] input)
      Specified by:
      apply in interface Function<byte[],T>