Documentation of 'org.apache.lucene.index.IndexFileNameFilter' Java class
IndexFileNameFilter
org.apache.lucene.index

Class IndexFileNameFilter

  • All Implemented Interfaces:
    java.io.FilenameFilter


    public class IndexFileNameFilter
    extends java.lang.Object
    implements java.io.FilenameFilter
    Filename filter that accept filenames and extensions only created by Lucene.
    • Constructor Detail

      • IndexFileNameFilter

        public IndexFileNameFilter()
    • Method Detail

      • accept

        public boolean accept(java.io.File dir,
                              java.lang.String name)
        Specified by:
        accept in interface java.io.FilenameFilter
      • isCFSFile

        public boolean isCFSFile(java.lang.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).

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.