logahawk.formatters
Class DefaultArgumentFormatterContainer
java.lang.Object
logahawk.AbstractContainer<ArgumentFormatter>
logahawk.formatters.DefaultArgumentFormatterContainer
- All Implemented Interfaces:
- ArgumentFormatterContainer
@ThreadSafe
public class DefaultArgumentFormatterContainer
- extends AbstractContainer<ArgumentFormatter>
- implements ArgumentFormatterContainer
A basic implementation of ArgumentFormatterContainer
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
collectionArgFormatter
protected final CollectionArgFormatter collectionArgFormatter
- We use this as the formatter for the call to
format(List)
.
DefaultArgumentFormatterContainer
public DefaultArgumentFormatterContainer()
DefaultArgumentFormatterContainer
public DefaultArgumentFormatterContainer(Collection<ArgumentFormatter> items)
format
public String format(List<Object> arguments)
- Formats the provided arguments using a
CollectionArgFormatter
.
- Specified by:
format
in interface ArgumentFormatterContainer