ch.qos.logback.core.pattern.parser
Class Parser<E>

java.lang.Object
  extended by ch.qos.logback.core.spi.ContextAwareBase
      extended by ch.qos.logback.core.pattern.parser.Parser<E>
All Implemented Interfaces:
ContextAware

public class Parser<E>
extends ContextAwareBase


Field Summary
 
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
 
Constructor Summary
Parser(String pattern)
           
Parser(String pattern, IEscapeUtil escapeUtil)
           
 
Method Summary
 Converter<E> compile(Node top, Map converterMap)
          When the parsing step is done, the Node list can be transformed into a converter chain.
 Node parse()
           
 
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Parser

public Parser(String pattern)
       throws ScanException
Throws:
ScanException

Parser

public Parser(String pattern,
              IEscapeUtil escapeUtil)
       throws ScanException
Throws:
ScanException
Method Detail

parse

public Node parse()
           throws ScanException
Throws:
ScanException

compile

public Converter<E> compile(Node top,
                            Map converterMap)
When the parsing step is done, the Node list can be transformed into a converter chain.

Parameters:
top -
converterMap -
Returns:
Throws:
ScanException


Copyright © 2005-2009 QOS.ch. All Rights Reserved.