Constructor and Description |
---|
ToString()
Construct.
|
Modifier and Type | Method and Description |
---|---|
static String |
arrayToString(Object[] o)
Converts an array of
Object to a string Use the value of the
line.separator system property the line separator. |
static String |
arrayToString(Object[] o,
String EOL)
Converts an array of
Object to a string using the given line separator. |
static String[] |
stringToArray(String value)
Breaks a string into an array of strings.
|
String |
toString()
Default implementation of the
toString() method that
delegates work to a StringBuffer base version. |
void |
toString(StringBuilder s)
Place a string image of the object in a StringBuffer.
|
public String toString()
toString()
method that
delegates work to a StringBuffer
base version.public void toString(StringBuilder s)
s
- the string buffer.public static String[] stringToArray(String value)
line.separator
system property as the linebreak character.value
- the string to convert.public static String arrayToString(Object[] o)
Object
to a string Use the value of the
line.separator
system property the line separator.o
- the array of objects.Copyright © 2006–2022 Apache Software Foundation. All rights reserved.