Class Utf8Encoder


  • public class Utf8Encoder
    extends java.lang.Object
    A utf16 (= Java char) to utf8 encoder.

    INTERNAL API

    • Constructor Summary

      Constructors 
      Constructor Description
      Utf8Encoder()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static akka.stream.Graph<S,​M> addAttributes​(akka.stream.Attributes attr)  
      static akka.stream.Graph<S,​M> async()  
      static akka.stream.Graph<S,​M> async​(java.lang.String dispatcher)  
      static akka.stream.Graph<S,​M> async​(java.lang.String dispatcher, int inputBufferSize)  
      static akka.stream.Outlet<akka.util.ByteString> byteStringOut()  
      static akka.stream.stage.GraphStageLogic createLogic​(akka.stream.Attributes inheritedAttributes)  
      static scala.Tuple2<akka.stream.stage.GraphStageLogic,​akka.NotUsed> createLogicAndMaterializedValue​(akka.stream.Attributes inheritedAttributes)  
      static scala.Tuple2<akka.stream.stage.GraphStageLogic,​M> createLogicAndMaterializedValue​(akka.stream.Attributes inheritedAttributes, akka.stream.Materializer materializer)  
      static akka.stream.Attributes getAttributes()  
      static akka.stream.Attributes initialAttributes()  
      static long lowerNBitsSet​(int n)  
      static akka.stream.Graph<S,​M> named​(java.lang.String name)  
      static akka.stream.FlowShape<java.lang.String,​akka.util.ByteString> shape()  
      static akka.stream.Inlet<java.lang.String> stringIn()  
      static int SurrogateHighMask()  
      static int SurrogateLowMask()  
      static java.lang.String toString()  
      static akka.stream.impl.TraversalBuilder traversalBuilder()  
      static long Utf8OneByteLimit()  
      static long Utf8ThreeByteLimit()  
      static long Utf8TwoByteLimit()  
      static akka.stream.Graph<S,​M> withAttributes​(akka.stream.Attributes attr)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Utf8Encoder

        public Utf8Encoder()
    • Method Detail

      • SurrogateHighMask

        public static int SurrogateHighMask()
      • SurrogateLowMask

        public static int SurrogateLowMask()
      • Utf8OneByteLimit

        public static long Utf8OneByteLimit()
      • Utf8TwoByteLimit

        public static long Utf8TwoByteLimit()
      • Utf8ThreeByteLimit

        public static long Utf8ThreeByteLimit()
      • lowerNBitsSet

        public static long lowerNBitsSet​(int n)
      • stringIn

        public static akka.stream.Inlet<java.lang.String> stringIn()
      • byteStringOut

        public static akka.stream.Outlet<akka.util.ByteString> byteStringOut()
      • shape

        public static akka.stream.FlowShape<java.lang.String,​akka.util.ByteString> shape()
      • initialAttributes

        public static akka.stream.Attributes initialAttributes()
      • createLogic

        public static akka.stream.stage.GraphStageLogic createLogic​(akka.stream.Attributes inheritedAttributes)
      • toString

        public static java.lang.String toString()
      • named

        public static akka.stream.Graph<S,​M> named​(java.lang.String name)
      • async

        public static akka.stream.Graph<S,​M> async()
      • async

        public static akka.stream.Graph<S,​M> async​(java.lang.String dispatcher)
      • async

        public static akka.stream.Graph<S,​M> async​(java.lang.String dispatcher,
                                                         int inputBufferSize)
      • addAttributes

        public static akka.stream.Graph<S,​M> addAttributes​(akka.stream.Attributes attr)
      • getAttributes

        public static akka.stream.Attributes getAttributes()
      • createLogicAndMaterializedValue

        public static scala.Tuple2<akka.stream.stage.GraphStageLogic,​M> createLogicAndMaterializedValue​(akka.stream.Attributes inheritedAttributes,
                                                                                                              akka.stream.Materializer materializer)
      • traversalBuilder

        public static final akka.stream.impl.TraversalBuilder traversalBuilder()
      • withAttributes

        public static final akka.stream.Graph<S,​M> withAttributes​(akka.stream.Attributes attr)
      • createLogicAndMaterializedValue

        public static final scala.Tuple2<akka.stream.stage.GraphStageLogic,​akka.NotUsed> createLogicAndMaterializedValue​(akka.stream.Attributes inheritedAttributes)