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
A
StringBuilder implementation.- Since:
- 2.3.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappend(char c) append(CharSequence csq) append(CharSequence csq, int start, int end) charcharAt(int index) intlength()subSequence(int start, int end) Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.CharSequence
chars, codePoints, isEmpty, toString
-
Constructor Details
-
InMemoryBuffer
public InMemoryBuffer()
-
-
Method Details
-
append
- Specified by:
appendin interfaceAppendable- Throws:
IOException
-
append
- Specified by:
appendin interfaceAppendable- Throws:
IOException
-
append
- 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
- Specified by:
subSequencein interfaceCharSequence
-