Package org.apache.sshd.common.util.io
Interface LineDataConsumer
-
- All Known Subinterfaces:
LineLevelAppender
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface LineDataConsumer
- Author:
- Apache MINA SSHD Project
-
-
Field Summary
Fields Modifier and Type Field Description static LineDataConsumerFAILThrowsStreamCorruptedExceptionwith the invoked line datastatic LineDataConsumerIGNOREIgnores anything provided to it
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconsume(CharSequence lineData)
-
-
-
Field Detail
-
IGNORE
static final LineDataConsumer IGNORE
Ignores anything provided to it
-
FAIL
static final LineDataConsumer FAIL
ThrowsStreamCorruptedExceptionwith the invoked line data
-
-
Method Detail
-
consume
void consume(CharSequence lineData) throws IOException
- Throws:
IOException
-
-