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
-
-
Field Summary
Fields Modifier and Type Field Description static LineDataConsumer
FAIL
ThrowsStreamCorruptedException
with the invoked line datastatic LineDataConsumer
IGNORE
Ignores anything provided to it
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
consume(java.lang.CharSequence lineData)
-
-
-
Field Detail
-
IGNORE
static final LineDataConsumer IGNORE
Ignores anything provided to it
-
FAIL
static final LineDataConsumer FAIL
ThrowsStreamCorruptedException
with the invoked line data
-
-