org.apache.log4j.pattern
Class BridgePatternParser

java.lang.Object
  extended by org.apache.log4j.helpers.PatternParser
      extended by org.apache.log4j.pattern.BridgePatternParser

public final class BridgePatternParser
extends org.apache.log4j.helpers.PatternParser

The class implements the pre log4j 1.3 org.apache.log4j.helpers.PatternConverter contract by delegating to the log4j 1.3 pattern implementation.

Author:
Curt Arnold

Field Summary
 
Fields inherited from class org.apache.log4j.helpers.PatternParser
currentLiteral, formattingInfo, i, pattern, patternLength
 
Constructor Summary
BridgePatternParser(java.lang.String conversionPattern)
          Create a new instance.
 
Method Summary
 org.apache.log4j.helpers.PatternConverter parse()
          Create new pattern converter.
 
Methods inherited from class org.apache.log4j.helpers.PatternParser
addConverter, extractOption, extractPrecisionOption, finalizeConverter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BridgePatternParser

public BridgePatternParser(java.lang.String conversionPattern)
Create a new instance.

Parameters:
conversionPattern - pattern, may not be null.
Method Detail

parse

public org.apache.log4j.helpers.PatternConverter parse()
Create new pattern converter.

Overrides:
parse in class org.apache.log4j.helpers.PatternParser
Returns:
pattern converter.


Copyright © 2010 The Apache Software Foundation. Licensed under the Apache License, Version 2.0

Apache Extras Companion for Apache log4j, Apache log4j and Apache are trademarks of the Apache Software Foundation.