R - the result typepublic class LinePipeline<R> extends AbstractIntObjectPipeline<String,R>
Strings, using LF or CR-LF as line separators.| Constructor and Description |
|---|
LinePipeline(Acceptor<? super String,? extends R> downstream)
Construct a
LinePipeline with the given downstream Acceptor. |
LinePipeline(Acceptor<? super String,? extends R> downstream,
int maxLength)
Construct a
LinePipeline with the given downstream Acceptor amd the specified maximum line length. |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptInt(int value)
Accept an
int, after closed check and test for end of data. |
void |
close()
Close the pipeline.
|
emit, flush, getDownstreamaccept, acceptisClosedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, accept, accept, accept, accept, accept, accept, accept, accept, acceptandThengetResult, isComplete, isStageCompleteisClosed, safeClosepublic LinePipeline(Acceptor<? super String,? extends R> downstream, int maxLength)
LinePipeline with the given downstream Acceptor amd the specified maximum line length.downstream - the AcceptormaxLength - the maximum line lengthpublic void acceptInt(int value)
AbstractIntAcceptorint, after closed check and test for end of data. Implementing classes must supply an
implementation of this method.acceptInt in class AbstractIntAcceptor<R>value - the input valuepublic void close()
AbstractIntObjectPipelineclose in interface AutoCloseableclose in class AbstractIntObjectPipeline<String,R>Copyright © 2025. All rights reserved.