|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.jrcs.util.ToString
public class ToString
This class delegates handling of the to a StringBuffer based version.
| Constructor Summary | |
|---|---|
ToString()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
arrayToString(java.lang.Object[] o)
Converts an array of Object to a string
Use the value of the line.separator system property
the line separator. |
static java.lang.String |
arrayToString(java.lang.Object[] o,
java.lang.String EOL)
Converts an array of Object to a string
using the given line separator. |
static java.lang.String[] |
stringToArray(java.lang.String value)
|
static java.lang.String[] |
stringToArraya(java.lang.String value)
Breaks a string into an array of strings. |
static java.lang.String[] |
stringToArrayold(java.lang.String value)
Breaks a string into an array of strings. |
java.lang.String |
toString()
Default implementation of the toString() method that
delegates work to a StringBuffer
base version. |
void |
toString(java.lang.StringBuffer s)
Place a string image of the object in a StringBuffer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ToString()
| Method Detail |
|---|
public java.lang.String toString()
toString() method that
delegates work to a StringBuffer
base version.
toString in class java.lang.Objectpublic void toString(java.lang.StringBuffer s)
s - the string buffer.public static java.lang.String[] stringToArrayold(java.lang.String value)
line.separator system property
as the linebreak character.
value - the string to convert.public static java.lang.String[] stringToArray(java.lang.String value)
public static java.lang.String[] stringToArraya(java.lang.String value)
line.separator system property
as the linebreak character.
value - the string to convert.public static java.lang.String arrayToString(java.lang.Object[] o)
Object to a string
Use the value of the line.separator system property
the line separator.
o - the array of objects.
public static java.lang.String arrayToString(java.lang.Object[] o,
java.lang.String EOL)
Object to a string
using the given line separator.
o - the array of objects.EOL - the string to use as line separator.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||