R - the pipeline result typepublic class CodePoint_UTF8<R> extends ErrorStrategyBase<R>
IntPipeline to convert Unicode code points to UTF-8. Note that this encoder will convert
surrogate characters to 3-byte sequences without reporting an error, so it may be used as a UTF-16 to UTF-8 encoder.| Constructor and Description |
|---|
CodePoint_UTF8(IntAcceptor<? extends R> downstream) |
CodePoint_UTF8(IntAcceptor<? extends R> downstream,
ErrorStrategy errorStrategy) |
| Modifier and Type | Method and Description |
|---|---|
void |
acceptInt(int value)
Accept an
int, after closed check and test for end of data. |
handleErrorclose, 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 CodePoint_UTF8(IntAcceptor<? extends R> downstream, ErrorStrategy errorStrategy)
public CodePoint_UTF8(IntAcceptor<? extends R> downstream)
public 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 valueCopyright © 2025. All rights reserved.