Package org.slf4j.migrator.line

Examples of org.slf4j.migrator.line.SingleConversionRule


  private ArrayList<ConversionRule> conversionRuleList;
 
  public TrivialMatcher() {
    //simple rule no capturing group is defined, we use default capturing group which is group zero
    SingleConversionRule cr = new SingleConversionRule(Pattern.compile("import org.slf4j.converter"),
        "simple replacement with an unique capturing group");
   
    //we define 4 differents capturing groups
    MultiGroupConversionRule cr1 = new MultiGroupConversionRule(Pattern.compile("(first group)( second group)( third group)( 4th group)"));
    //group zero is ignored during treatment
View Full Code Here

TOP

Related Classes of org.slf4j.migrator.line.SingleConversionRule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.