-
- All Implemented Interfaces:
-
net.pwall.pipeline.BaseCoAcceptor,net.pwall.pipeline.BaseCoPipeline,net.pwall.pipeline.IntCoAcceptor,net.pwall.pipeline.IntCoPipeline
public final class CoCodePoint_UTF16<R extends Object> extends CoErrorStrategyBase<R>
An encoder IntCoPipeline to convert Unicode code points to UTF-16.
-
-
Field Summary
Fields Modifier and Type Field Description private final IntCoAcceptor<R>downstreamprivate final Booleanclosedprivate final Booleancompleteprivate final Rresultprivate final BooleanstageComplete
-
Constructor Summary
Constructors Constructor Description CoCodePoint_UTF16(IntCoAcceptor<R> downstream, ErrorStrategy errorStrategy)
-
Method Summary
Modifier and Type Method Description UnitacceptInt(Integer value)Accept an int, afterclosedcheck and test for end of data.-
Methods inherited from class net.pwall.pipeline.AbstractIntCoPipeline
close, emit, flush, getDownstream -
Methods inherited from class net.pwall.pipeline.BaseAbstractCoAcceptor
getClosed -
Methods inherited from class net.pwall.pipeline.BaseCoAcceptor
getComplete, getResult -
Methods inherited from class net.pwall.pipeline.BaseCoPipeline
getStageComplete -
Methods inherited from class net.pwall.pipeline.codec.CoErrorStrategyBase
handleError -
Methods inherited from class net.pwall.pipeline.AbstractIntCoAcceptor
accept -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
CoCodePoint_UTF16
CoCodePoint_UTF16(IntCoAcceptor<R> downstream, ErrorStrategy errorStrategy)
-
-
-
-