net.sf.jmd.transformation.impl
Class FilesystemFinder

java.lang.Object
  extended by net.sf.jmd.transformation.impl.FilesystemFinder
All Implemented Interfaces:
IFileFinder

public class FilesystemFinder
extends java.lang.Object
implements IFileFinder


Constructor Summary
FilesystemFinder()
           
 
Method Summary
 java.util.List<java.io.File> findFiles(java.io.File rootDir, java.lang.String pattern)
          Finds files for a given rootDir and a fileExtensionPattern.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilesystemFinder

public FilesystemFinder()
Method Detail

findFiles

public java.util.List<java.io.File> findFiles(java.io.File rootDir,
                                              java.lang.String pattern)
                                       throws MoDiException
Description copied from interface: IFileFinder
Finds files for a given rootDir and a fileExtensionPattern. e.g. MyFileFinder.findFiles(newFile("/home/jan/modi"), "*.java");

Specified by:
findFiles in interface IFileFinder
Parameters:
rootDir - The directory where to find the files.
pattern - 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.