Package org.openl.util.print
Class DefaultFormat
java.lang.Object
org.openl.util.print.DefaultFormat
Default format to convert
-
- arrays (Object and primitives)
- object that are instances of
- maps of objects.
Object values to String representations. Supports:-
null objects- arrays (Object and primitives)
- object that are instances of
Collection- maps of objects.
- Author:
- snshor
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringBuilderformat(Object obj, StringBuilder buf) protected static StringBuilderformatArray(Object obj, StringBuilder buf) protected static StringBuilderformatBean(Object obj, StringBuilder buf) protected static StringBuilderformatCollection(Collection<?> collection, StringBuilder buf) protected static StringBuilderformatMap(Map<?, ?> map, StringBuilder buf)
-
Method Details
-
format
-
formatArray
-
formatBean
-
formatCollection
-
formatMap
-