public abstract class StrLib extends Object
Constructor and Description |
---|
StrLib() |
Modifier and Type | Method and Description |
---|---|
static String |
classAndStateString(Class<?> type,
Object... fieldNamesAndValues)
For implementing toString() to print an object's state.
|
static String |
classAndStateString(String typeName,
Object... fieldNamesAndValues)
For implementing toString() to print an object's state.
|
static String |
format(String template)
GWT compatible implementation of Object.format that only supports "%s".
|
static String |
format(String template,
Object a)
GWT compatible implementation of Object.format that only supports "%s".
|
static String |
format(String template,
Object a,
Object b)
GWT compatible implementation of Object.format that only supports "%s".
|
static String |
format(String template,
Object a,
Object b,
Object c)
GWT compatible implementation of Object.format that only supports "%s".
|
static String |
format(String template,
Object a,
Object b,
Object c,
Object d)
GWT compatible implementation of Object.format that only supports "%s".
|
static String |
format(String template,
Object a,
Object b,
Object c,
Object d,
Object e)
GWT compatible implementation of Object.format that only supports "%s".
|
static String |
format(String template,
Object a,
Object b,
Object c,
Object d,
Object e,
Object f)
GWT compatible implementation of Object.format that only supports "%s".
|
static String |
format(String template,
Object a,
Object b,
Object c,
Object d,
Object e,
Object f,
Object g)
GWT compatible implementation of Object.format that only supports "%s".
|
static String |
formatN(String template,
Object... items)
GWT compatible implementation of Object.format that only supports "%s", accepting a varargs
array.
|
static void |
print(String template)
Combining System.out.println with format().
|
static void |
print(String template,
Object a)
Combining System.out.println with format().
|
static void |
print(String template,
Object a,
Object b)
Combining System.out.println with format().
|
static void |
print(String template,
Object a,
Object b,
Object c)
Combining System.out.println with format().
|
static void |
print(String template,
Object a,
Object b,
Object c,
Object d)
Combining System.out.println with format().
|
static void |
print(String template,
Object a,
Object b,
Object c,
Object d,
Object e)
Combining System.out.println with format().
|
static void |
print(String template,
Object a,
Object b,
Object c,
Object d,
Object e,
Object f)
Combining System.out.println with format().
|
static void |
print(String template,
Object a,
Object b,
Object c,
Object d,
Object e,
Object f,
Object g)
Combining System.out.println with format().
|
static void |
printN(String template,
Object... items)
Combining System.out.println with format(), accepting varargs array.
|
static String |
simpleClassName(Class<?> type)
GWT compatible implementation of type.getSimpleName().
|
public static String classAndStateString(Class<?> type, Object... fieldNamesAndValues)
public static String classAndStateString(String typeName, Object... fieldNamesAndValues)
public static String simpleClassName(Class<?> type)
public static String format(String template)
public static String format(String template, Object a)
public static String format(String template, Object a, Object b)
public static String format(String template, Object a, Object b, Object c)
public static String format(String template, Object a, Object b, Object c, Object d)
public static String format(String template, Object a, Object b, Object c, Object d, Object e)
public static String format(String template, Object a, Object b, Object c, Object d, Object e, Object f)
public static String format(String template, Object a, Object b, Object c, Object d, Object e, Object f, Object g)
public static String formatN(String template, Object... items)
public static void print(String template)
public static void print(String template, Object a)
public static void print(String template, Object a, Object b)
public static void print(String template, Object a, Object b, Object c)
public static void print(String template, Object a, Object b, Object c, Object d)
public static void print(String template, Object a, Object b, Object c, Object d, Object e)
public static void print(String template, Object a, Object b, Object c, Object d, Object e, Object f)
public static void print(String template, Object a, Object b, Object c, Object d, Object e, Object f, Object g)
Copyright © 2014. All rights reserved.