public class StringBundler
extends Object
implements Serializable
See https://issues.liferay.com/browse/LPS-6072.
Constructor and Description |
---|
StringBundler() |
StringBundler(int initialCapacity) |
StringBundler(String s) |
StringBundler(String[] stringArray) |
StringBundler(String[] stringArray,
int extraSpace) |
Modifier and Type | Method and Description |
---|---|
StringBundler |
append(boolean b) |
StringBundler |
append(char c) |
StringBundler |
append(char[] chars) |
StringBundler |
append(double d) |
StringBundler |
append(float f) |
StringBundler |
append(int i) |
StringBundler |
append(long l) |
StringBundler |
append(Object obj) |
StringBundler |
append(String s) |
StringBundler |
append(String[] stringArray) |
StringBundler |
append(StringBundler sb) |
int |
capacity() |
static String |
concat(String... strings) |
protected void |
expandCapacity(int newCapacity) |
String[] |
getStrings() |
int |
index() |
int |
length() |
void |
setIndex(int newIndex) |
void |
setStringAt(String s,
int index) |
String |
stringAt(int index) |
String |
toString() |
void |
writeTo(Writer writer) |
public StringBundler()
public StringBundler(int initialCapacity)
public StringBundler(String s)
public StringBundler(String[] stringArray)
public StringBundler(String[] stringArray, int extraSpace)
public static String concat(String... strings)
public StringBundler append(boolean b)
public StringBundler append(char c)
public StringBundler append(char[] chars)
public StringBundler append(double d)
public StringBundler append(float f)
public StringBundler append(int i)
public StringBundler append(long l)
public StringBundler append(Object obj)
public StringBundler append(String s)
public StringBundler append(String[] stringArray)
public StringBundler append(StringBundler sb)
public int capacity()
public String[] getStrings()
public int index()
public int length()
public void setIndex(int newIndex)
public void setStringAt(String s, int index)
public String stringAt(int index)
public String toString()
toString
in class Object
public void writeTo(Writer writer) throws IOException
IOException
protected void expandCapacity(int newCapacity)