java.lang.Object
org.apache.wicket.util.diff.ToString
This class delegates handling of the to a StringBuilder based version.
- Version:
- $Revision: 1.1 $ $Date: 2006/03/12 00:24:21 $
- Author:
- Juanco Anez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringarrayToString(Object[] o) Converts an array ofObjectto a string Use the value of theline.separatorsystem property the line separator.static StringarrayToString(Object[] o, String EOL) Converts an array ofObjectto a string using the given line separator.static String[]stringToArray(String value) Breaks a string into an array of strings.toString()Default implementation of thetoString()method that delegates work to aStringBufferbase version.voidPlace a string image of the object in a StringBuffer.
-
Constructor Details
-
ToString
public ToString()Construct.
-
-
Method Details
-
toString
Default implementation of thetoString()method that delegates work to aStringBufferbase version. -
toString
Place a string image of the object in a StringBuffer.- Parameters:
s- the string buffer.
-
stringToArray
Breaks a string into an array of strings. Use the value of theline.separatorsystem property as the linebreak character.- Parameters:
value- the string to convert.- Returns:
- String[]
-
arrayToString
Converts an array ofObjectto a string Use the value of theline.separatorsystem property the line separator.- Parameters:
o- the array of objects.- Returns:
- String
-
arrayToString
Converts an array ofObjectto a string using the given line separator.- Parameters:
o- the array of objects.EOL- the string to use as line separator.- Returns:
- String
-