dk.brics.xact.compiler
Class FileUtil
java.lang.Object
dk.brics.xact.compiler.FileUtil
public class FileUtil
- extends Object
File utilitity methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileUtil
public FileUtil()
findAllFilesWithExtensions
public static List<File> findAllFilesWithExtensions(File dir,
boolean subdirs,
String extension)
- Finds all files with the given extension.
- Parameters:
dir
- directory to searchsubdirs
- if true, also search in subdirectoriesextension
- extension to include
Copyright © 2005-2011 Aarhus University.