com.raritantechnologies.verity.collection
Class MkvdkBIFProcessor

java.lang.Object
  extended bycom.raritantechnologies.verity.collection.MkvdkBIFProcessor
All Implemented Interfaces:
IBIFProcessor, ICollectionIndexer, IConfigurable

public class MkvdkBIFProcessor
extends java.lang.Object
implements IBIFProcessor

<!-- This section defines the collection indexer so that the BIFOutProcessor can index the collection. The Parameters are passed verbatim to the defined collection indexer and so they must be syntactically correct. The following uses the Autonomy K2 utility mkvdk. Certain other OutputProcessor tag values can be referenced in the Parameter section by surrounding the tag name whose value is to be referenced by a beginning and ending sharp (#) characters (see the example below). --> <BIFProcessor class="com.raritantechnologies.verity.collection.MkvdkBIFProcessor" path="YourCollectionPath/bin" name="mkvdk.exe" useCmdExe="[true|false - use the Windows cmd.exe shell ]" logfile="BASE_PATH/mkvdk.log" errfile="BASE_PATH/mkvdk.err" > <Parameters> <Parameter name="-update" /> <Parameter name="-synch "/> <!-- #CollectionName# will be translated to the value of the CollectionName tag above --> <Parameter name="-collection" value="[ path to Collection ]"/> <Parameter name="-bulk"/> <Parameter name="-credentials" value="[ username:password ]"/> </Parameters> <BIFProcessor>


Field Summary
 
Fields inherited from interface com.raritantechnologies.searchApp.dataCollection.ICollectionIndexer
ADD, CREATE, DELETE, UPDATE
 
Constructor Summary
MkvdkBIFProcessor()
           
 
Method Summary
 boolean createCollection(java.lang.String collectionPath, java.lang.String styleFilePath)
           
 java.lang.String getIndexerName()
           
 java.lang.String getIndexerPath()
           
 java.lang.String getPassword()
           
 java.lang.String getUserID()
           
 void initialize(org.w3c.dom.Element elem)
          Initializes the object from an XML tag or element.
 boolean processBIFs(java.lang.String[] bifFiles)
           
 void setDeleteFiles(java.lang.String delFiles)
           
 void setErrext(java.lang.String errext)
           
 void setErrfile(java.lang.String errfile)
           
 void setIndexerName(java.lang.String indexerName)
           
 void setIndexerParams(java.lang.String key, java.lang.String val)
           
 void setIndexerPath(java.lang.String indexerPath)
           
 void setIndexMode(java.lang.String idxMode)
           
 void setLogdir(java.lang.String logdir)
           
 void setLogext(java.lang.String logext)
           
 void setLogfile(java.lang.String logfile)
           
 void setPassword(java.lang.String pword)
           
 void setUseCmdExe(java.lang.String strUseCmdExe)
           
 void setUserID(java.lang.String uID)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MkvdkBIFProcessor

public MkvdkBIFProcessor()
Method Detail

setDeleteFiles

public void setDeleteFiles(java.lang.String delFiles)

processBIFs

public boolean processBIFs(java.lang.String[] bifFiles)
Specified by:
processBIFs in interface IBIFProcessor

createCollection

public boolean createCollection(java.lang.String collectionPath,
                                java.lang.String styleFilePath)
Specified by:
createCollection in interface IBIFProcessor

getIndexerName

public java.lang.String getIndexerName()

setIndexerName

public void setIndexerName(java.lang.String indexerName)

setIndexerParams

public void setIndexerParams(java.lang.String key,
                             java.lang.String val)

getIndexerPath

public java.lang.String getIndexerPath()

setIndexerPath

public void setIndexerPath(java.lang.String indexerPath)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String pword)

getUserID

public java.lang.String getUserID()

setUserID

public void setUserID(java.lang.String uID)

setErrfile

public void setErrfile(java.lang.String errfile)

setLogdir

public void setLogdir(java.lang.String logdir)

setLogfile

public void setLogfile(java.lang.String logfile)

setErrext

public void setErrext(java.lang.String errext)

setLogext

public void setLogext(java.lang.String logext)

initialize

public void initialize(org.w3c.dom.Element elem)
Description copied from interface: IConfigurable
Initializes the object from an XML tag or element. This method is called by the Framework as part of the application initializtion. see ConfigurationManager, XMLConfigurationManager, XMLSearchFieldMapFactory, XMLSearchSourceFactory. Configurable objects that are owned or contained by other configurable objects will be initialized in by the parent object.

Specified by:
initialize in interface IConfigurable

setUseCmdExe

public void setUseCmdExe(java.lang.String strUseCmdExe)

setIndexMode

public void setIndexMode(java.lang.String idxMode)
Specified by:
setIndexMode in interface ICollectionIndexer