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.DirectoryWalkerIOExceptionprotected boolean handleDirectory(File directory, int depth, Collection results) throws IOException
handleDirectory in class org.apache.commons.io.DirectoryWalkerIOExceptionprotected void handleFile(File file, int depth, Collection results) throws IOException
handleFile in class org.apache.commons.io.DirectoryWalkerIOExceptionpublic Collection<String> run(String projectDir) throws IOException
IOExceptionprotected boolean isBlacklisted(String file)
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.