public class MultiLineToStringBuilder extends Object
Modifier and Type | Method and Description |
---|---|
static String |
toString(Collection<? extends Object> collection)
Creates a multi line JSON like string representation from a Collection.
|
static String |
toString(Collection<? extends Object> collection,
List<?> filterKeyList)
Creates a multi line JSON like string representation from a Collection
|
static String |
toString(ExecutionContext executionContext)
Creates a multi line JSON like string for the execution context
|
static String |
toString(Map<? extends Object,? extends Object> map)
Creates a multi line JSON like string representation from a Map
|
static String |
toString(Map<? extends Object,? extends Object> map,
List<?> filterKeyList)
Creates a multi line JSON like string representation from a Map
|
static String |
toString(Object[] array)
Creates a multi line JSON like string representation from an Array
|
static String |
toString(Object[] array,
List<?> filterKeyList)
Creates a multi line JSON like string representation from an Array
|
public static String toString(ExecutionContext executionContext)
executionContext
- The ExecutionContextpublic static String toString(Map<? extends Object,? extends Object> map)
map
- The Map to create the string frompublic static String toString(Map<? extends Object,? extends Object> map, List<?> filterKeyList)
map
- The Map to create the string fromfilterKeyList
- A list of objects that are ignored when encountered as keyspublic static String toString(Collection<? extends Object> collection)
map
- The Map to create the string frompublic static String toString(Collection<? extends Object> collection, List<?> filterKeyList)
map
- The Map to create the string fromfilterKeyList
- A list of objects that are ignored when encountered as keyspublic static String toString(Object[] array)
map
- The Map to create the string frompublic static String toString(Object[] array, List<?> filterKeyList)
map
- The Map to create the string fromfilterKeyList
- A list of objects that are ignored when encountered as keysCopyright © 2020. All rights reserved.