SLF4J Migrator 1.7.2-redhat-1

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

SLF4J Migrator 1.7.2-redhat-1

Copyright © 2005-2013 JBoss by Red Hat. All Rights Reserved.