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
AStringBuilder
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)
-
-
-
Method Detail
-
append
public java.lang.Appendable append(java.lang.CharSequence csq) throws java.io.IOException
- Specified by:
append
in 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:
append
in interfacejava.lang.Appendable
- Throws:
java.io.IOException
-
append
public java.lang.Appendable append(char c) throws java.io.IOException
- Specified by:
append
in interfacejava.lang.Appendable
- Throws:
java.io.IOException
-
length
public int length()
- Specified by:
length
in interfacejava.lang.CharSequence
-
charAt
public char charAt(int index)
- Specified by:
charAt
in interfacejava.lang.CharSequence
-
subSequence
public java.lang.CharSequence subSequence(int start, int end)
- Specified by:
subSequence
in interfacejava.lang.CharSequence
-
-