Package org.clapper.util.io

Examples of org.clapper.util.io.RegexFileFilter


    private void processDirectory (File                  dir,
                                   Map<String,ClassInfo> foundClasses)
    {
        RecursiveFileFinder finder = new RecursiveFileFinder();
        RegexFileFilter nameFilter =
            new RegexFileFilter ("\\.class$", FileFilterMatchType.FILENAME);
        AndFileFilter fileFilter = new AndFileFilter (nameFilter,
                                                      new FileOnlyFilter());
        Collection<File> files = new ArrayList<File>();
        finder.findFiles (dir, fileFilter, files);
View Full Code Here

TOP

Related Classes of org.clapper.util.io.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.