org.apache.lucene.index
Class LuceneFileNames

java.lang.Object
  extended by org.apache.lucene.index.LuceneFileNames

public class LuceneFileNames
extends Object

A set of utility methods for index file names.

Author:
kimchy

Constructor Summary
LuceneFileNames()
           
 
Method Summary
static boolean isSegmentsFile(String name)
          Returns if the name is a segment file or not.
static boolean isStaticFile(String name)
          Returns if this file name is a static file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneFileNames

public LuceneFileNames()
Method Detail

isStaticFile

public static boolean isStaticFile(String name)
Returns if this file name is a static file. A static file is a file that is updated and changed by Lucene.


isSegmentsFile

public static boolean isSegmentsFile(String name)
Returns if the name is a segment file or not.



Copyright (c) 2004-2009 The Compass Project.