org.apache.lucene.index
Class IndexFileNameFilter
- FilenameFilter
public class IndexFileNameFilter
implements FilenameFilter
Filename filter that accept filenames and extensions only created by Lucene.
- Daniel Naber / Bernhard Messer
IndexFileNameFilter
public IndexFileNameFilter()
accept
public boolean accept(File dir,
String name)
isCFSFile
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).
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.