logahawk.formatters
Class DefaultSignatureFormatterContainer

java.lang.Object
  extended by logahawk.AbstractContainer<SignatureFormatter>
      extended by logahawk.formatters.DefaultSignatureFormatterContainer
All Implemented Interfaces:
SignatureFormatterContainer

@ThreadSafe
public class DefaultSignatureFormatterContainer
extends AbstractContainer<SignatureFormatter>
implements SignatureFormatterContainer

A basic implementation of SignatureFormatterContainer.


Field Summary
 
Fields inherited from class logahawk.AbstractContainer
items
 
Constructor Summary
DefaultSignatureFormatterContainer()
           
DefaultSignatureFormatterContainer(Collection<SignatureFormatter> c)
           
 
Method Summary
 void format(List<Object> arguments)
          Applies each SignatureFormatter to the arguments once, in the order they were added.
 
Methods inherited from class logahawk.AbstractContainer
add, addAll, clear
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface logahawk.formatters.SignatureFormatterContainer
add
 

Constructor Detail

DefaultSignatureFormatterContainer

public DefaultSignatureFormatterContainer()

DefaultSignatureFormatterContainer

public DefaultSignatureFormatterContainer(Collection<SignatureFormatter> c)
Method Detail

format

public void format(List<Object> arguments)
Applies each SignatureFormatter to the arguments once, in the order they were added.

Specified by:
format in interface SignatureFormatterContainer