org.codehaus.mojo.jsimport
Class FileCollector

java.lang.Object
  extended by org.codehaus.mojo.jsimport.FileCollector

public class FileCollector
extends Object

Given a set of includes and excludes, collect a list of files.


Method Summary
 List<String> collectPaths(File sourceFolder, List<String> includes, List<String> excludes)
          Perform the collection given the source folder and any overrides of the includes and excludes.
 org.sonatype.plexus.build.incremental.BuildContext getBuildContext()
           
 void setBuildContext(org.sonatype.plexus.build.incremental.BuildContext buildContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

collectPaths

public List<String> collectPaths(File sourceFolder,
                                 List<String> includes,
                                 List<String> excludes)
Perform the collection given the source folder and any overrides of the includes and excludes.

Parameters:
sourceFolder - the source folder.
includes - if not null and not empty then these will override any defaults.
excludes - if not null and not empty then these will override any defaults.
Returns:
the collected files.

getBuildContext

public org.sonatype.plexus.build.incremental.BuildContext getBuildContext()
Returns:
property.

setBuildContext

public void setBuildContext(org.sonatype.plexus.build.incremental.BuildContext buildContext)
Parameters:
buildContext - property.


Copyright © 2010-2012 Codehaus. All Rights Reserved.