public static interface StringFunctions_C.PrepareBufferPos
StringFormatter
to use similar approaches for setCharAt and append.Modifier and Type | Method and Description |
---|---|
void |
addBufferPos(char cc)
Adds a character either on end (Appendable#append)
or on a defined position
|
int |
prepareBufferPos(int nrofChars)
Ensures that on the destination
addBufferPos(char) is applicable. |
int prepareBufferPos(int nrofChars)
addBufferPos(char)
is applicable.
This operation can be empty on a simple appendable.
It should be fullfilled if a given position is used.nrofChars
- planned number of characters to add at position.void addBufferPos(char cc) throws java.io.IOException
cc
- java.io.IOException