| Modifier and Type | Class and Description |
|---|---|
| public static interface | Dumpable.
DumpableContainer A Dumpable that is a container of beans can implement this interface to allow it to refine which of its beans can be dumped. |
| Modifier and Type | Method and Description |
|---|---|
| public default String | |
| public void | dump(Appendable
The appendable to dump to out, String The indent to apply after any new lines. indent)Dump this object (and children) into an Appendable using the provided indent after any new lines. |
| public static String | Returns: The dumped stringThe dumpable to dump dumpable)Utility method to implement |
| public static void | |
| public static void | |
| public static void | |
| public static void | dumpObject(Appendable
The Appendable to dump to out, Object The object to dump. o)Dump just an Object (but not it's contained items) to an Appendable. |
| public static void | dumpObjects(Appendable
the Appendable to dump to out, String The indent to apply after any new lines indent, Object object, Object... Items to be dumped as children of the object, in addition to any discovered children of object extraChildren)Dump an Object, it's contained items and additional items to an |
| public default String | |
| public static Dumpable |
| KEY | back to summary |
|---|---|
| public static final String KEY | |
| dump | back to summary |
|---|---|
public default String dump()
| |
| dump | back to summary |
|---|---|
| public void dump(Appendable out, String indent) throws IOException Dump this object (and children) into an Appendable using the provided indent after any new lines. The indent should not be applied to the first object dumped.
| |
| dump | back to summary |
|---|---|
| public static String dump(Dumpable dumpable) Utility method to implement | |
| dumpContainer | back to summary |
|---|---|
| public static void dumpContainer(Appendable out, String indent, Container object, boolean last) throws IOException | |
| dumpIterable | back to summary |
|---|---|
| public static void dumpIterable(Appendable out, String indent, Iterable<?> iterable, boolean last) throws IOException | |
| dumpMapEntries | back to summary |
|---|---|
| public static void dumpMapEntries(Appendable out, String indent, Map<?, ?> map, boolean last) throws IOException | |
| dumpObject | back to summary |
|---|---|
| public static void dumpObject(Appendable out, Object o) throws IOException Dump just an Object (but not it's contained items) to an Appendable.
| |
| dumpObjects | back to summary |
|---|---|
| public static void dumpObjects(Appendable out, String indent, Object object, Object... extraChildren) throws IOException Dump an Object, it's contained items and additional items to an
| |
| dumpSelf | back to summary |
|---|---|
| public default String dumpSelf() The description of this/self found in the dump. Allows for alternative representation of Object other then .toString() where the long form output of toString() is represented in a cleaner way within the dump infrastructure.
| |
| named | back to summary |
|---|---|
| public static Dumpable named(String name, Object object) | |
| Modifier and Type | Method and Description |
|---|---|
| public default boolean |
| isDumpable | back to summary |
|---|---|
| public default boolean isDumpable(Object o) | |