org.silverpeas.search.indexEngine
Class IndexFileManager

java.lang.Object
  extended by org.silverpeas.search.indexEngine.IndexFileManager

public class IndexFileManager
extends Object

Utility class to manage index files.


Constructor Summary
IndexFileManager()
           
 
Method Summary
static void configure(String indexPath)
          For test purposde only
static void deleteComponentIndexFolder(String componentId)
           
static String getAbsoluteIndexPath(String particularSpace, String sComponentId)
           
static String getIndexUpLoadPath()
          get the base directory of index upload path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexFileManager

public IndexFileManager()
Method Detail

configure

public static void configure(String indexPath)
For test purposde only

Parameters:
indexPath -

getAbsoluteIndexPath

public static String getAbsoluteIndexPath(String particularSpace,
                                          String sComponentId)

deleteComponentIndexFolder

public static void deleteComponentIndexFolder(String componentId)

getIndexUpLoadPath

public static String getIndexUpLoadPath()
get the base directory of index upload path

Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.