wt.index
Class LoadIndexSvr

java.lang.Object
  extended bywt.index.LoadIndexSvr
All Implemented Interfaces:
RemoteAccess

public class LoadIndexSvr
extends Object
implements RemoteAccess


Field Summary
private static Hashtable indexedIds
           
private static boolean VERBOSE
           
 
Fields inherited from interface wt.method.RemoteAccess
versionID
 
Constructor Summary
LoadIndexSvr()
           
 
Method Summary
static void loadIndex(String collectionName, String pathToReport)
           
private static boolean validateCollection(String collection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERBOSE

private static boolean VERBOSE

indexedIds

private static Hashtable indexedIds
Constructor Detail

LoadIndexSvr

public LoadIndexSvr()
Method Detail

loadIndex

public static void loadIndex(String collectionName,
                             String pathToReport)
                      throws WTException,
                             FileNotFoundException,
                             IOException,
                             ClassNotFoundException,
                             WTPropertyVetoException
Throws:
WTException
FileNotFoundException
IOException
ClassNotFoundException
WTPropertyVetoException

validateCollection

private static boolean validateCollection(String collection)
                                   throws IOException,
                                          UnableToLoadServiceProperties,
                                          IndexingException,
                                          WTPropertyVetoException
Throws:
IOException
UnableToLoadServiceProperties
IndexingException
WTPropertyVetoException