public static class LicenseHeaderUpdate.LicensableFileDirectoryWalker extends org.apache.commons.io.DirectoryWalker
Constructor and Description |
---|
LicenseHeaderUpdate.LicensableFileDirectoryWalker(org.apache.commons.io.filefilter.IOFileFilter fileFilter,
String firstLine,
String linePrefix,
String lastLine) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
handleDirectory(File directory,
int depth,
Collection results) |
protected void |
handleDirectoryStart(File directory,
int depth,
Collection results) |
protected void |
handleFile(File file,
int depth,
Collection results) |
protected boolean |
isBlacklisted(String file) |
Collection<String> |
run(String projectDir) |
public LicenseHeaderUpdate.LicensableFileDirectoryWalker(org.apache.commons.io.filefilter.IOFileFilter fileFilter, String firstLine, String linePrefix, String lastLine)
protected void handleDirectoryStart(File directory, int depth, Collection results) throws IOException
handleDirectoryStart
in class org.apache.commons.io.DirectoryWalker
IOException
protected boolean handleDirectory(File directory, int depth, Collection results) throws IOException
handleDirectory
in class org.apache.commons.io.DirectoryWalker
IOException
protected void handleFile(File file, int depth, Collection results) throws IOException
handleFile
in class org.apache.commons.io.DirectoryWalker
IOException
public Collection<String> run(String projectDir) throws IOException
IOException
protected boolean isBlacklisted(String file)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.