| Modifier and Type | Field and Description |
|---|---|
| private static IOFileFilter | |
| private static IOFileFilter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static IOFileFilter | Returns: an appropriately configured age file filterthe time threshold cutoff)Returns a filter that returns true if the file was last modified after the specified cutoff time. |
| public static IOFileFilter | Returns: an appropriately configured age file filterthe time threshold cutoff, boolean if true, older files get accepted, if false, newer acceptOlder)Returns a filter that filters files based on a cutoff time. |
| public static IOFileFilter | Returns: an appropriately configured age file filterthe time threshold cutoffDate)Returns a filter that returns true if the file was last modified after the specified cutoff date. |
| public static IOFileFilter | Returns: an appropriately configured age file filterthe time threshold cutoffDate, boolean if true, older files get accepted, if false, newer acceptOlder)Returns a filter that filters files based on a cutoff date. |
| public static IOFileFilter | Returns: an appropriately configured age file filterthe file whose last modification
time is usesd as the threshold age of the files cutoffReference)Returns a filter that returns true if the file was last modified after the specified reference file. |
| public static IOFileFilter | Returns: an appropriately configured age file filterthe file whose last modification
time is usesd as the threshold age of the files cutoffReference, boolean if true, older files get accepted, if false, newer acceptOlder)Returns a filter that filters files based on a cutoff reference file. |
| public static IOFileFilter | Returns: a filter that ANDs the two specified filtersthe first filter filter1, IOFileFilter the second filter filter2)Returns a filter that ANDs the two specified filters. |
| public static IOFileFilter | Returns: a new filter that implements IOFileFilterthe filter to be wrapped filter)Returns an |
| public static IOFileFilter | Returns: a new filter that implements IOFileFilterthe filter to be wrapped filter)Returns an |
| public static IOFileFilter | Returns: file filter that accepts only directories and not filesReturns a filter that checks if the file is a directory. |
| public static IOFileFilter | |
| public static IOFileFilter | Returns: file filter that accepts only files and not directoriesReturns a filter that checks if the file is a file (and not a directory). |
| public static IOFileFilter | Returns: the decorated filter, never nullthe filter to decorate, null means an unrestricted filter filter)Decorates a filter to make it ignore CVS directories. |
| public static IOFileFilter | Returns: the decorated filter, never nullthe filter to decorate, null means an unrestricted filter filter)Decorates a filter so that it only applies to directories and not to files. |
| public static IOFileFilter | Returns: the decorated filter, never nullthe filter to decorate, null means an unrestricted filter filter)Decorates a filter so that it only applies to files and not to directories. |
| public static IOFileFilter | Returns: the decorated filter, never nullthe filter to decorate, null means an unrestricted filter filter)Decorates a filter to make it ignore SVN directories. |
| public static IOFileFilter | Returns: a name checking filterthe filename name)Returns a filter that returns true if the filename matches the specified text. |
| public static IOFileFilter | Returns: a filter that NOTs the specified filterthe filter to invert filter)Returns a filter that NOTs the specified filter. |
| public static IOFileFilter | Returns: a filter that ORs the two specified filtersthe first filter filter1, IOFileFilter the second filter filter2)Returns a filter that ORs the two specified filters. |
| public static IOFileFilter | Returns: a prefix checking filterthe filename prefix prefix)Returns a filter that returns true if the filename starts with the specified text. |
| public static IOFileFilter | Returns: an appropriately configured SizeFileFilterthe file size threshold threshold)Returns a filter that returns true if the file is bigger than a certain size. |
| public static IOFileFilter | Returns: an appropriately configured SizeFileFilterthe file size threshold threshold, boolean if true, larger files get accepted, if false, smaller acceptLarger)Returns a filter that filters based on file size. |
| public static IOFileFilter | Returns: an appropriately configured IOFileFilterthe minimum file size (inclusive) minSizeInclusive, long the maximum file size (inclusive) maxSizeInclusive)Returns a filter that accepts files whose size is >= minimum size and <= maximum size. |
| public static IOFileFilter | Returns: a suffix checking filterthe filename suffix suffix)Returns a filter that returns true if the filename ends with the specified text. |
| public static IOFileFilter |
| cvsFilter | back to summary |
|---|---|
| private static IOFileFilter cvsFilter | |
| svnFilter | back to summary |
|---|---|
| private static IOFileFilter svnFilter | |
| FileFilterUtils | back to summary |
|---|---|
| public FileFilterUtils() FileFilterUtils is not normally instantiated. | |
| ageFileFilter | back to summary |
|---|---|
| public static IOFileFilter ageFileFilter(long cutoff) Returns a filter that returns true if the file was last modified after the specified cutoff time.
| |
| ageFileFilter | back to summary |
|---|---|
| public static IOFileFilter ageFileFilter(long cutoff, boolean acceptOlder) Returns a filter that filters files based on a cutoff time.
| |
| ageFileFilter | back to summary |
|---|---|
| public static IOFileFilter ageFileFilter(Date cutoffDate) Returns a filter that returns true if the file was last modified after the specified cutoff date.
| |
| ageFileFilter | back to summary |
|---|---|
| public static IOFileFilter ageFileFilter(Date cutoffDate, boolean acceptOlder) Returns a filter that filters files based on a cutoff date.
| |
| ageFileFilter | back to summary |
|---|---|
| public static IOFileFilter ageFileFilter(File cutoffReference) Returns a filter that returns true if the file was last modified after the specified reference file.
| |
| ageFileFilter | back to summary |
|---|---|
| public static IOFileFilter ageFileFilter(File cutoffReference, boolean acceptOlder) Returns a filter that filters files based on a cutoff reference file.
| |
| andFileFilter | back to summary |
|---|---|
| public static IOFileFilter andFileFilter(IOFileFilter filter1, IOFileFilter filter2) Returns a filter that ANDs the two specified filters.
| |
| asFileFilter | back to summary |
|---|---|
| public static IOFileFilter asFileFilter(FileFilter filter) Returns an
| |
| asFileFilter | back to summary |
|---|---|
| public static IOFileFilter asFileFilter(FilenameFilter filter) Returns an
| |
| directoryFileFilter | back to summary |
|---|---|
| public static IOFileFilter directoryFileFilter() Returns a filter that checks if the file is a directory.
| |
| falseFileFilter | back to summary |
|---|---|
| public static IOFileFilter falseFileFilter() Returns a filter that always returns false.
| |
| fileFileFilter | back to summary |
|---|---|
| public static IOFileFilter fileFileFilter() Returns a filter that checks if the file is a file (and not a directory).
| |
| makeCVSAware | back to summary |
|---|---|
| public static IOFileFilter makeCVSAware(IOFileFilter filter) Decorates a filter to make it ignore CVS directories.
Passing in
| |
| makeDirectoryOnly | back to summary |
|---|---|
| public static IOFileFilter makeDirectoryOnly(IOFileFilter filter) Decorates a filter so that it only applies to directories and not to files.
| |
| makeFileOnly | back to summary |
|---|---|
| public static IOFileFilter makeFileOnly(IOFileFilter filter) Decorates a filter so that it only applies to files and not to directories.
| |
| makeSVNAware | back to summary |
|---|---|
| public static IOFileFilter makeSVNAware(IOFileFilter filter) Decorates a filter to make it ignore SVN directories.
Passing in
| |
| nameFileFilter | back to summary |
|---|---|
| public static IOFileFilter nameFileFilter(String name) Returns a filter that returns true if the filename matches the specified text.
| |
| notFileFilter | back to summary |
|---|---|
| public static IOFileFilter notFileFilter(IOFileFilter filter) Returns a filter that NOTs the specified filter.
| |
| orFileFilter | back to summary |
|---|---|
| public static IOFileFilter orFileFilter(IOFileFilter filter1, IOFileFilter filter2) Returns a filter that ORs the two specified filters.
| |
| prefixFileFilter | back to summary |
|---|---|
| public static IOFileFilter prefixFileFilter(String prefix) Returns a filter that returns true if the filename starts with the specified text.
| |
| sizeFileFilter | back to summary |
|---|---|
| public static IOFileFilter sizeFileFilter(long threshold) Returns a filter that returns true if the file is bigger than a certain size.
| |
| sizeFileFilter | back to summary |
|---|---|
| public static IOFileFilter sizeFileFilter(long threshold, boolean acceptLarger) Returns a filter that filters based on file size.
| |
| sizeRangeFileFilter | back to summary |
|---|---|
| public static IOFileFilter sizeRangeFileFilter(long minSizeInclusive, long maxSizeInclusive) Returns a filter that accepts files whose size is >= minimum size and <= maximum size.
| |
| suffixFileFilter | back to summary |
|---|---|
| public static IOFileFilter suffixFileFilter(String suffix) Returns a filter that returns true if the filename ends with the specified text.
| |
| trueFileFilter | back to summary |
|---|---|
| public static IOFileFilter trueFileFilter() Returns a filter that always returns true.
| |