SLF4J Migrator 1.7.2-redhat-1

org.slf4j.migrator.line
Class LineConverter

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

public class LineConverter
extends Object


Constructor Summary
LineConverter(RuleSet ruleSet)
           
 
Method Summary
 boolean atLeastOneMatchOccured()
           
 String getOneLineReplacement(String text)
           
 String[] getReplacement(String text)
          Check if the specified text is matching some conversions rules.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineConverter

public LineConverter(RuleSet ruleSet)
Method Detail

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()

SLF4J Migrator 1.7.2-redhat-1

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