org.kuali.maven.plugins.ingester
Class SimpleScanner

java.lang.Object
  extended by org.kuali.maven.plugins.ingester.SimpleScanner

public final class SimpleScanner
extends Object

Logic for recursively scanning a base directory for files that match include/exclude patterns


Constructor Summary
SimpleScanner(File directory, String[] included, String[] excluded, boolean useDefaultExcludes)
           
 
Method Summary
protected static String[] buildExclusions(boolean useDefaultExcludes, String... excludes)
           
protected static String[] buildInclusions(String... includes)
           
 File getDirectory()
           
 String[] getExcluded()
           
 String[] getIncluded()
           
 String[] getSelectedFiles()
           
protected  void scanIfNeeded()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleScanner

public SimpleScanner(File directory,
                     String[] included,
                     String[] excluded,
                     boolean useDefaultExcludes)
Method Detail

getSelectedFiles

public String[] getSelectedFiles()

getDirectory

public File getDirectory()

getIncluded

public String[] getIncluded()

getExcluded

public String[] getExcluded()

scanIfNeeded

protected void scanIfNeeded()

buildExclusions

protected static String[] buildExclusions(boolean useDefaultExcludes,
                                          String... excludes)

buildInclusions

protected static String[] buildInclusions(String... includes)


Copyright © 2011-2012 The Kuali Foundation. All Rights Reserved.