org.apache.logging.log4j.core.pattern
Class FileDatePatternConverter

java.lang.Object
  extended by org.apache.logging.log4j.core.pattern.FileDatePatternConverter

@Plugin(name="FileDatePatternConverter",
        category="FileConverter")
public final class FileDatePatternConverter
extends Object

Formats an date by delegating to DatePatternConverter. The default date pattern for a %d specifier in a file name is different than the %d pattern in pattern layout.


Method Summary
static PatternConverter newInstance(String[] options)
          Obtains an instance of pattern converter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static PatternConverter newInstance(String[] options)
Obtains an instance of pattern converter.

Parameters:
options - options, may be null.
Returns:
instance of pattern converter.


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.