dk.brics.xact.compiler
Class FileUtil

java.lang.Object
  extended by dk.brics.xact.compiler.FileUtil

public class FileUtil
extends Object

File utilitity methods.


Constructor Summary
FileUtil()
           
 
Method Summary
static List<File> findAllFilesWithExtensions(File dir, boolean subdirs, String extension)
          Finds all files with the given extension.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileUtil

public FileUtil()
Method Detail

findAllFilesWithExtensions

public static List<File> findAllFilesWithExtensions(File dir,
                                                    boolean subdirs,
                                                    String extension)
Finds all files with the given extension.

Parameters:
dir - directory to search
subdirs - if true, also search in subdirectories
extension - extension to include


Copyright © 2005-2011 Aarhus University.