| Package | Description |
|---|---|
| com.helger.commons.io.file.filter | |
| com.helger.commons.io.file.iterate |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFileFilter
Abstract base implementation of
FileFilter with some conversion
methods. |
class |
FileFilterAlwaysFalse
A file filter that declines all elements.
|
class |
FileFilterAlwaysTrue
A file filter that accepts all elements.
|
class |
FileFilterDirectoryFromFilenameFilter
A special directory file filter that uses and external filename filter to
determine the validity.
|
class |
FileFilterDirectoryOnly
A file filter that accepts only directories.
|
class |
FileFilterDirectoryPublic
A file filter that matches if the passed file is a directory and is public,
meaning it does not start with "."
|
class |
FileFilterFileFromFilenameFilter
A special file filter that uses and external filename filter to determine the
validity.
|
class |
FileFilterFileOnly
A file filter that accepts only files.
|
class |
FileFilterFromFilenameFilter
A special file filter that uses and external filename filter to determine the
validity.
|
class |
FileFilterParentDirectoryPublic
A file filter that matches if the direct parent directory is public, meaning
it does not start with "."
|
class |
FilenameFilterEndsWith
A filename filter that checks whether a file has the specified extension.
|
class |
FilenameFilterEquals
A filename filter that checks whether a file has the specified name.
|
class |
FilenameFilterEqualsIgnoreCase
A filename filter that checks whether a file has the specified name.
|
class |
FilenameFilterMatchAnyRegEx
A filter that only accepts certain file names, based on a regular expression.
|
class |
FilenameFilterMatchNoRegEx
A filter that rejects certain file names, based on a regular expression.
|
class |
FilenameFilterNotEquals
A filename filter that checks whether a file does not have the specified
name.
|
class |
FilenameFilterNotEqualsIgnoreCase
A filename filter that checks whether a file does not have the specified
name.
|
class |
FilenameFilterStartsWith
A filename filter that checks whether a file starts with a certain text.
|
| Modifier and Type | Method and Description |
|---|---|
static IIterableIterator<File> |
FileSystemRecursiveIterator.create(File fBaseDir,
IFileFilter... aFileFilters)
Create a new iterator that recursively descends into sub-directories
starting from the given base directory.
|
static IIterableIterator<File> |
FileSystemIterator.create(File fBaseDir,
IFileFilter... aFileFilters)
Create a new non-recursive file system iterator that uses multiple
FilenameFilter objects that all need to match. |
static IIterableIterator<File> |
FileSystemRecursiveIterator.create(String sBaseDir,
IFileFilter... aFileFilters)
Create a new iterator that recursively descends into sub-directories
starting from the given base directory.
|
static IIterableIterator<File> |
FileSystemIterator.create(String sBaseDir,
IFileFilter... aFileFilters)
Create a new non-recursive file system iterator that uses multiple
FilenameFilter objects that all need to match. |
Copyright © 2014–2015 Philip Helger. All rights reserved.