Package org.slf4j.migrator.line
Interface ConversionRule
-
- All Known Implementing Classes:
MultiGroupConversionRule,SingleConversionRule
public interface ConversionRule
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAdditionalLine()Returns a non-null value if there should be an additional line following a match of this rule.java.util.regex.PatterngetPattern()java.lang.Stringreplace(java.util.regex.Matcher matcher)Given replacement rules, replace each capturing group in matcher's pattern
-
-
-
Method Detail
-
getPattern
java.util.regex.Pattern getPattern()
-
replace
java.lang.String replace(java.util.regex.Matcher matcher)
Given replacement rules, replace each capturing group in matcher's pattern- Parameters:
matcher-- Returns:
- String
-
getAdditionalLine
java.lang.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
-
-