org.apache.logging.log4j.core.pattern
Interface ArrayPatternConverter

All Superinterfaces:
PatternConverter
All Known Implementing Classes:
DatePatternConverter, IntegerPatternConverter, LiteralPatternConverter

public interface ArrayPatternConverter
extends PatternConverter

PatternConverters implement this interface to accept an array of objects when formatting.


Field Summary
 
Fields inherited from interface org.apache.logging.log4j.core.pattern.PatternConverter
CATEGORY
 
Method Summary
 void format(StringBuilder toAppendTo, Object... objects)
          Formats an array of Objects.
 
Methods inherited from interface org.apache.logging.log4j.core.pattern.PatternConverter
format, getName, getStyleClass
 

Method Detail

format

void format(StringBuilder toAppendTo,
            Object... objects)
Formats an array of Objects.

Parameters:
toAppendTo - The StringBuilder to add the content to.
objects - The Object array.


Copyright © 1999-2014 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.