Class Options.InMemoryBuffer

  • All Implemented Interfaces:
    Options.Buffer, java.lang.Appendable, java.lang.CharSequence
    Enclosing class:
    Options

    public static class Options.InMemoryBuffer
    extends java.lang.Object
    implements Options.Buffer
    A StringBuilder implementation.
    Since:
    2.3.2
    • Constructor Summary

      Constructors 
      Constructor Description
      InMemoryBuffer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Appendable append​(char c)  
      java.lang.Appendable append​(java.lang.CharSequence csq)  
      java.lang.Appendable append​(java.lang.CharSequence csq, int start, int end)  
      char charAt​(int index)  
      int length()  
      java.lang.CharSequence subSequence​(int start, int end)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.CharSequence

        chars, codePoints, toString
    • Constructor Detail

      • InMemoryBuffer

        public InMemoryBuffer()
    • Method Detail

      • append

        public java.lang.Appendable append​(java.lang.CharSequence csq)
                                    throws java.io.IOException
        Specified by:
        append in interface java.lang.Appendable
        Throws:
        java.io.IOException
      • append

        public java.lang.Appendable append​(java.lang.CharSequence csq,
                                           int start,
                                           int end)
                                    throws java.io.IOException
        Specified by:
        append in interface java.lang.Appendable
        Throws:
        java.io.IOException
      • append

        public java.lang.Appendable append​(char c)
                                    throws java.io.IOException
        Specified by:
        append in interface java.lang.Appendable
        Throws:
        java.io.IOException
      • length

        public int length()
        Specified by:
        length in interface java.lang.CharSequence
      • charAt

        public char charAt​(int index)
        Specified by:
        charAt in interface java.lang.CharSequence
      • subSequence

        public java.lang.CharSequence subSequence​(int start,
                                                  int end)
        Specified by:
        subSequence in interface java.lang.CharSequence