Package org.eclipse.jetty.util.component
Class DumpableCollection
- java.lang.Object
-
- org.eclipse.jetty.util.component.DumpableCollection
-
-
Constructor Summary
Constructors Constructor Description DumpableCollection(String name, Collection<?> collection)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdump()voiddump(Appendable out, String indent)Dump this object (and children) into an Appendable using the provided indent after any new lines.static DumpableCollectionfrom(String name, Object... items)static DumpableCollectionfromArray(String name, Object[] array)
-
-
-
Constructor Detail
-
DumpableCollection
public DumpableCollection(String name, Collection<?> collection)
-
-
Method Detail
-
fromArray
public static DumpableCollection fromArray(String name, Object[] array)
-
from
public static DumpableCollection from(String name, Object... items)
-
dump
public void dump(Appendable out, String indent) throws IOException
Description copied from interface:DumpableDump 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.- Specified by:
dumpin interfaceDumpable- Parameters:
out- The appendable to dump toindent- The indent to apply after any new lines.- Throws:
IOException
-
-