Interface StringBuilding

  • All Known Implementing Classes:
    HeaderParser, UriParser

    public interface StringBuilding
    For certain high-performance use-cases it is better to construct Strings that the parser is to produce/extract from the input in a char-by-char fashion.

    Mixing this trait into your parser gives you a simple facility to support this.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      akka.parboiled2.Rule<,​> appendSB()  
      akka.parboiled2.Rule<,​> appendSB​(char c)  
      akka.parboiled2.Rule<,​> appendSB​(int offset)  
      akka.parboiled2.Rule<,​> appendSB​(java.lang.String s)  
      akka.parboiled2.Rule<,​> clearSB()  
      void doPrepend​(char c)  
      void doPrepend​(java.lang.String s)  
      void doSet​(java.lang.String s)  
      akka.parboiled2.Rule<,​> prependSB()  
      akka.parboiled2.Rule<,​> prependSB​(char c)  
      akka.parboiled2.Rule<,​> prependSB​(int offset)  
      akka.parboiled2.Rule<,​> prependSB​(java.lang.String s)  
      java.lang.StringBuilder sb()  
      akka.parboiled2.Rule<,​> setSB​(java.lang.String s)  
    • Method Detail

      • appendSB

        akka.parboiled2.Rule<,​> appendSB()
      • appendSB

        akka.parboiled2.Rule<,​> appendSB​(int offset)
      • appendSB

        akka.parboiled2.Rule<,​> appendSB​(char c)
      • appendSB

        akka.parboiled2.Rule<,​> appendSB​(java.lang.String s)
      • clearSB

        akka.parboiled2.Rule<,​> clearSB()
      • doPrepend

        void doPrepend​(char c)
      • doPrepend

        void doPrepend​(java.lang.String s)
      • doSet

        void doSet​(java.lang.String s)
      • prependSB

        akka.parboiled2.Rule<,​> prependSB()
      • prependSB

        akka.parboiled2.Rule<,​> prependSB​(int offset)
      • prependSB

        akka.parboiled2.Rule<,​> prependSB​(char c)
      • prependSB

        akka.parboiled2.Rule<,​> prependSB​(java.lang.String s)
      • sb

        java.lang.StringBuilder sb()
      • setSB

        akka.parboiled2.Rule<,​> setSB​(java.lang.String s)