org.apache.log4j.helpers
クラス PatternParser

java.lang.Object
  |
  +--org.apache.log4j.helpers.PatternParser
直系の既知のサブクラス:
AppServerPatternParser, MyPatternParser

public class PatternParser
extends Object

Most of the work of the PatternLayout class is delegated to the PatternParser class.

PatternLayout クラスのほとんどの作業は PatternParser クラスに委譲されます。

It is this class that parses conversion patterns and creates a chained list of OptionConverters.

このクラスで変換パターンを解析し、OptionConverters のチェインリストを作成します。

導入されたバージョン:
0.8.2
作成者:
James P. Cakalic, Ceki Gülcü, Anders Kristensen

フィールドの概要
protected  StringBuffer currentLiteral
           
protected  FormattingInfo formattingInfo
           
protected  int i
           
protected  String pattern
           
protected  int patternLength
           
 
コンストラクタの概要
PatternParser(String pattern)
           
 
メソッドの概要
protected  void addConverter(PatternConverter pc)
           
protected  void finalizeConverter(char c)
           
 PatternConverter parse()
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

currentLiteral

protected StringBuffer currentLiteral

patternLength

protected int patternLength

i

protected int i

formattingInfo

protected FormattingInfo formattingInfo

pattern

protected String pattern
コンストラクタの詳細

PatternParser

public PatternParser(String pattern)
メソッドの詳細

parse

public PatternConverter parse()

finalizeConverter

protected void finalizeConverter(char c)

addConverter

protected void addConverter(PatternConverter pc)


Please notify me about new log4j releases.