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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final LineDataConsumer
ThrowsStreamCorruptedException
with the invoked line datastatic final LineDataConsumer
Ignores anything provided to it -
Method Summary
-
Field Details
-
IGNORE
Ignores anything provided to it -
FAIL
ThrowsStreamCorruptedException
with the invoked line data
-
-
Method Details
-
consume
- Throws:
IOException
-