public class

IndexFileNameFilter

extends Object
implements FilenameFilter
java.lang.Object
   ↳ org.apache.lucene.index.IndexFileNameFilter

Class Overview

Filename filter that accept filenames and extensions only created by Lucene.

Summary

Public Methods
boolean accept(File dir, String name)
static IndexFileNameFilter getFilter()
boolean isCFSFile(String name)
Returns true if this is a file that would be contained in a CFS file.
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.io.FilenameFilter

Public Methods

public boolean accept (File dir, String name)

public static IndexFileNameFilter getFilter ()

public boolean isCFSFile (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 above "accept" (ie, are already known to be a Lucene index file).