public final class DefaultStringifier extends Object implements TypeStringifier<Object>
JavaToString| Constructor and Description |
|---|
DefaultStringifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendAsString(Appendable appendable,
Object object)
Appends the string representation of the given object.
|
static <T> TypeStringifier<T> |
get()
Returns the instance.
|
String |
toString(Object object) |
public void appendAsString(Appendable appendable, Object object) throws IOException
TypeStringifierappendAsString in interface TypeStringifier<Object>IOExceptionpublic String toString(Object object)
toString in interface TypeStringifier<Object>public static <T> TypeStringifier<T> get()
Copyright © 2014. All rights reserved.