Class NewlineParser
- java.lang.Object
-
- org.apache.sshd.sftp.common.extensions.AbstractParser<NewlineParser.Newline>
-
- org.apache.sshd.sftp.common.extensions.NewlineParser
-
- All Implemented Interfaces:
Function<byte[],NewlineParser.Newline>
,NamedResource
,ExtensionParser<NewlineParser.Newline>
public class NewlineParser extends AbstractParser<NewlineParser.Newline>
- Author:
- Apache MINA SSHD Project
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NewlineParser.Newline
The "newline" extension information as per DRAFT 09 Section 4.3
-
Field Summary
Fields Modifier and Type Field Description static NewlineParser
INSTANCE
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
-
Constructor Summary
Constructors Constructor Description NewlineParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NewlineParser.Newline
parse(byte[] input, int offset, int len)
NewlineParser.Newline
parse(String value)
-
Methods inherited from class org.apache.sshd.sftp.common.extensions.AbstractParser
getName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.sshd.sftp.common.extensions.ExtensionParser
apply, parse
-
-
-
-
Field Detail
-
INSTANCE
public static final NewlineParser INSTANCE
-
-
Method Detail
-
parse
public NewlineParser.Newline parse(byte[] input, int offset, int len)
-
parse
public NewlineParser.Newline parse(String value)
-
-