Class LineConverter

java.lang.Object
org.slf4j.migrator.line.LineConverter

public class LineConverter extends Object
  • Field Details

    • ruleSet

      final RuleSet ruleSet
    • atLeastOneMatchOccured

      boolean atLeastOneMatchOccured
  • Constructor Details

    • LineConverter

      public LineConverter(RuleSet ruleSet)
  • Method Details

    • getReplacement

      public String[] getReplacement(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 String getOneLineReplacement(String text)
    • atLeastOneMatchOccured

      public boolean atLeastOneMatchOccured()