org.slf4j.migrator.line
Interface ConversionRule

All Known Implementing Classes:
MultiGroupConversionRule, SingleConversionRule

public interface ConversionRule


Method Summary
 String getAdditionalLine()
          Returns a non-null value if there should be an additional line following a match of this rule.
 Pattern getPattern()
           
 String replace(Matcher matcher)
          Given replacement rules, replace each capturing group in matcher's pattern
 

Method Detail

getPattern

Pattern getPattern()

replace

String replace(Matcher matcher)
Given replacement rules, replace each capturing group in matcher's pattern

Parameters:
matcher -
Returns:
String

getAdditionalLine

String getAdditionalLine()
Returns a non-null value if there should be an additional line following a match of this rule. In most cases this method returns null.

Returns:
String


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