Package cn.org.rapid_framework.generator.util

Examples of cn.org.rapid_framework.generator.util.AntPathMatcher


        GLogger.println("[skip]\t\t endsWith '.include' template:"+templateFile);
        return true;
      }
      templateFile = templateFile.replace('\\', '/');
      for(String exclude : StringHelper.tokenizeToStringArray(excludes,",")) {
        if(new AntPathMatcher().match(exclude.replace('\\', '/'), templateFile)) return true;
      }
      if(StringHelper.isBlank(includes)) {
        return false;
      }
      for(String include : StringHelper.tokenizeToStringArray(includes,",")) {
        if(new AntPathMatcher().match(include.replace('\\', '/'), templateFile)) return false;
      }
      return true;
    }   
View Full Code Here


        GLogger.println("[skip]\t\t endsWith '.include' template:"+templateFile);
        return true;
      }
      templateFile = templateFile.replace('\\', '/');
      for(String exclude : StringHelper.tokenizeToStringArray(excludes,",")) {
        if(new AntPathMatcher().match(exclude.replace('\\', '/'), templateFile)) return true;
      }
      if(includes == null) return false;
      for(String include : StringHelper.tokenizeToStringArray(includes,",")) {
        if(new AntPathMatcher().match(include.replace('\\', '/'), templateFile)) return false;
      }
      return true;
    }   
View Full Code Here

TOP

Related Classes of cn.org.rapid_framework.generator.util.AntPathMatcher

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.