Package org.slf4j.migrator.line
Class LineConverter
- java.lang.Object
-
- org.slf4j.migrator.line.LineConverter
-
public class LineConverter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LineConverter(RuleSet ruleSet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanatLeastOneMatchOccured()java.lang.StringgetOneLineReplacement(java.lang.String text)java.lang.String[]getReplacement(java.lang.String text)Check if the specified text is matching some conversions rules.
-
-
-
Constructor Detail
-
LineConverter
public LineConverter(RuleSet ruleSet)
-
-
Method Detail
-
getReplacement
public java.lang.String[] getReplacement(java.lang.String text)
Check if the specified text is matching some conversions rules. If a rule matches, ask for line replacement.In case no rule can be applied, then the input text is returned without change.
- Parameters:
text-- Returns:
- String
-
getOneLineReplacement
public java.lang.String getOneLineReplacement(java.lang.String text)
-
atLeastOneMatchOccured
public boolean atLeastOneMatchOccured()
-
-