net.sf.jmd.transformation
Interface IFileFinder

All Known Implementing Classes:
FilesystemFinder

public interface IFileFinder


Method Summary
 java.util.List<java.io.File> findFiles(java.io.File rootDir, java.lang.String fileExtension)
          Finds files for a given rootDir and a fileExtensionPattern.
 

Method Detail

findFiles

java.util.List<java.io.File> findFiles(java.io.File rootDir,
                                       java.lang.String fileExtension)
                                       throws MoDiException
Finds files for a given rootDir and a fileExtensionPattern. e.g. MyFileFinder.findFiles(newFile("/home/jan/modi"), "*.java");

Parameters:
rootDir - The directory where to find the files.
fileExtension - A pattern matching file extensions.
Returns:
A list of files which have been found in the rootDir matching the given file extension.
Throws:
MoDiException


Copyright © 2007-2010. All Rights Reserved.