Package 

Class CoUTF16_CodePoint

  • All Implemented Interfaces:
    net.pwall.pipeline.BaseCoAcceptor , net.pwall.pipeline.BaseCoPipeline , net.pwall.pipeline.IntCoAcceptor , net.pwall.pipeline.IntCoPipeline

    
    public final class CoUTF16_CodePoint<R extends Object>
    extends CoErrorStrategyBase<R>
                        

    A decoder IntCoPipeline to convert UTF-16 to Unicode code points.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Boolean getComplete()
      Unit acceptInt(Integer value) Accept an int, after closed check 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

        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

      • CoUTF16_CodePoint

        CoUTF16_CodePoint(IntCoAcceptor<R> downstream, ErrorStrategy errorStrategy)
    • Method Detail

      • acceptInt

         Unit acceptInt(Integer value)

        Accept an int, after closed check and test for end of data. Implementing classes must supply an implementation of this method.

        Parameters:
        value - the input value