Package com.gentics.cr.util

Examples of com.gentics.cr.util.RegexFileFilter


        configfiles.add(confpath);
      }

      //add all files matching the regex "name.*.properties"
      java.io.File directory = new java.io.File(dirname);
      FileFilter regexFilter = new RegexFileFilter(basename.replaceAll("\\..*", "") + "\\.[^\\.]+\\.properties");
      for (java.io.File file : directory.listFiles(regexFilter)) {
        configfiles.add(file.getPath());
      }

      //load all found files into config
View Full Code Here

TOP

Related Classes of com.gentics.cr.util.RegexFileFilter

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.