Filename filter that accept filenames and extensions only created by Lucene.
More...
#include <IndexFileNameFilter.h>
|
static bool | accept (const String &directory, const String &name) |
| Returns true if this is a file known to be a Lucene index file.
|
|
static bool | isCFSFile (const String &name) |
| Returns true if this is a file that would be contained in a CFS file. This function should only be called on files that pass the accept (ie, are already known to be a Lucene index file).
|
|
static IndexFileNameFilterPtr | getFilter () |
| Return singleton IndexFileNameFilter.
|
|
Filename filter that accept filenames and extensions only created by Lucene.
◆ accept()
static bool Lucene::IndexFileNameFilter::accept |
( |
const String & |
directory, |
|
|
const String & |
name |
|
) |
| |
|
static |
Returns true if this is a file known to be a Lucene index file.
◆ getFilter()
◆ isCFSFile()
static bool Lucene::IndexFileNameFilter::isCFSFile |
( |
const String & |
name | ) |
|
|
static |
Returns true if this is a file that would be contained in a CFS file. This function should only be called on files that pass the accept
(ie, are already known to be a Lucene index file).
The documentation for this class was generated from the following file: