|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.staccatocommons.check.format.Var
public class Var
A class methods to create debug string for pairs of variables names and values
| Method Summary | |
|---|---|
static String |
format(String name,
Object value)
Creates a formatted string using the global VariableFormatter, for
the given variable name an value |
static String |
format(String name,
Object value,
String suffix)
Creates a formatted string with a suffix |
static String |
format(String prefix,
String name,
Object value)
Creates a formatted string with a prefix |
static String |
format(String prefix,
String name,
Object value,
String suffix)
Creates a formatted string with a prefix and a suffix |
static void |
setVariableFormatter(VariableFormatter formatter)
This method should never be invoker except during application startup |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static String format(String name,
Object value)
VariableFormatter, for
the given variable name an value
name - the variable name to format- Non null.value - the variable value to format. nullable
public static String format(String prefix,
String name,
Object value,
String suffix)
prefix - non null.name - non nullvalue - nullablesuffix - non null
VariableFormatter.format(String, String, Object, String)
public static String format(String prefix,
String name,
Object value)
prefix - non null.name - non nullvalue - nullable
VariableFormatter.format(String, String, Object)
public static String format(String name,
Object value,
String suffix)
suffix - non null.name - non nullvalue - nullable
VariableFormatter.format(String, Object, String)public static void setVariableFormatter(VariableFormatter formatter)
formatter - the global VariableFormatter to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||