Package com.github.jknack.handlebars
Class Options.InMemoryBuffer
- java.lang.Object
-
- com.github.jknack.handlebars.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
AStringBuilderimplementation.- 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.Appendableappend(char c)java.lang.Appendableappend(java.lang.CharSequence csq)java.lang.Appendableappend(java.lang.CharSequence csq, int start, int end)charcharAt(int index)intlength()java.lang.CharSequencesubSequence(int start, int end)
-
-
-
Method Detail
-
append
public java.lang.Appendable append(java.lang.CharSequence csq) throws java.io.IOException- Specified by:
appendin interfacejava.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:
appendin interfacejava.lang.Appendable- Throws:
java.io.IOException
-
append
public java.lang.Appendable append(char c) throws java.io.IOException- Specified by:
appendin interfacejava.lang.Appendable- Throws:
java.io.IOException
-
length
public int length()
- Specified by:
lengthin interfacejava.lang.CharSequence
-
charAt
public char charAt(int index)
- Specified by:
charAtin interfacejava.lang.CharSequence
-
subSequence
public java.lang.CharSequence subSequence(int start, int end)- Specified by:
subSequencein interfacejava.lang.CharSequence
-
-