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