|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.mojo.appassembler.util.FileFilterHelper
public class FileFilterHelper
This is helper class to summarize all filters.
| Constructor Summary | |
|---|---|
FileFilterHelper()
|
|
| Method Summary | |
|---|---|
static org.apache.commons.io.filefilter.IOFileFilter |
createDefaultFilter()
This will create a FileFilter which is the same as in plexus-utils (DirectoryScanner.DEFAULTEXCLUDES). |
static org.apache.commons.io.filefilter.IOFileFilter |
makeDirectoryAware(org.apache.commons.io.filefilter.IOFileFilter filter,
String directoryName)
Make the given IOFileFilter aware of directories. |
static org.apache.commons.io.filefilter.IOFileFilter |
makeFileNameAware(org.apache.commons.io.filefilter.IOFileFilter filter,
String fileName)
Make the given IOFileFilter aware of files. |
static org.apache.commons.io.filefilter.IOFileFilter |
makePatternFileNameAware(org.apache.commons.io.filefilter.IOFileFilter filter,
String pattern)
Make the given IOFileFilter aware of the given pattern. |
static org.apache.commons.io.filefilter.IOFileFilter |
makeSuffixAware(org.apache.commons.io.filefilter.IOFileFilter filter,
String suffixFileName)
Make the given IOFileFilter aware of an suffix. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileFilterHelper()
| Method Detail |
|---|
public static org.apache.commons.io.filefilter.IOFileFilter makeDirectoryAware(org.apache.commons.io.filefilter.IOFileFilter filter,
String directoryName)
filter - The filter to make aware of directories.directoryName - The directory name which should be payed attention to.
public static org.apache.commons.io.filefilter.IOFileFilter makeFileNameAware(org.apache.commons.io.filefilter.IOFileFilter filter,
String fileName)
filter - The filter to make aware of files.fileName - The file name which should be payed attention to.
public static org.apache.commons.io.filefilter.IOFileFilter makeSuffixAware(org.apache.commons.io.filefilter.IOFileFilter filter,
String suffixFileName)
filter - The filter to make aware of an suffix.suffixFileName - The suffix name which should be payed attention to.
public static org.apache.commons.io.filefilter.IOFileFilter makePatternFileNameAware(org.apache.commons.io.filefilter.IOFileFilter filter,
String pattern)
filter - The filter to make aware of the pattern.pattern - The pattern which should be payed attention to.
public static org.apache.commons.io.filefilter.IOFileFilter createDefaultFilter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||