|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.easymock.internal.ArgumentToString
public final class ArgumentToString
Utility class to convert method arguments to Strings
Method Summary | |
---|---|
static void |
appendArgument(Object value,
StringBuffer buffer)
|
static String |
argumentsToString(Object... arguments)
Returns a string representation of the arguments. |
static String |
argumentToString(Object argument)
Converts an argument to a String using appendArgument(Object, StringBuffer) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void appendArgument(Object value, StringBuffer buffer)
public static String argumentToString(Object argument)
appendArgument(Object, StringBuffer)
argument
- the argument to convert to a String.
String
representation of the argument.public static String argumentsToString(Object... arguments)
argumentToString(Object)
for every argument
in the given array and returns the string representations of the
arguments separated by commas.
arguments
- the arguments to be used in the string representation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |