Class TextContentWriter


  • public class TextContentWriter
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Appendable buffer  
      private char lastChar  
    • Constructor Summary

      Constructors 
      Constructor Description
      TextContentWriter​(java.lang.Appendable out)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void append​(char c)  
      private void append​(java.lang.String s)  
      void colon()  
      void line()  
      void whitespace()  
      void write​(char c)  
      void write​(java.lang.String s)  
      void writeStripped​(java.lang.String s)  
      • Methods inherited from class java.lang.Object

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

      • buffer

        private final java.lang.Appendable buffer
      • lastChar

        private char lastChar
    • Constructor Detail

      • TextContentWriter

        public TextContentWriter​(java.lang.Appendable out)
    • Method Detail

      • whitespace

        public void whitespace()
      • colon

        public void colon()
      • line

        public void line()
      • writeStripped

        public void writeStripped​(java.lang.String s)
      • write

        public void write​(java.lang.String s)
      • write

        public void write​(char c)
      • append

        private void append​(java.lang.String s)
      • append

        private void append​(char c)