com.nexwave.nquindexer
Class IndexerTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by com.nexwave.nquindexer.IndexerTask
All Implemented Interfaces:
Cloneable

public class IndexerTask
extends org.apache.tools.ant.Task

Indexer ant task.

Version:
1.0 2008-02-26
Author:
N. Quaine, Kasun Gajasinghe

Field Summary
static String indexerLanguage
           
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
IndexerTask()
           
 
Method Summary
 void execute()
          Implementation of the execute function (Task interface)
 void setHtmldir(String htmldir)
          The setter for the "htmldir" attribute (parameter of the task)
 void setHtmlextension(String htmlExtension)
          Set the extension in which html files are generated
 void setIndexerLanguage(String indexerLanguage)
          setter for "indexerLanguage" attribute from ANT
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

indexerLanguage

public static String indexerLanguage
Constructor Detail

IndexerTask

public IndexerTask()
Method Detail

setHtmldir

public void setHtmldir(String htmldir)
The setter for the "htmldir" attribute (parameter of the task)

Parameters:
htmldir -
Throws:
InterruptedException

setHtmlextension

public void setHtmlextension(String htmlExtension)
Set the extension in which html files are generated

Parameters:
htmlExtension - The extension in wich html files are generated

setIndexerLanguage

public void setIndexerLanguage(String indexerLanguage)
setter for "indexerLanguage" attribute from ANT

Parameters:
indexerLanguage - language for the search indexer. Used to differerentiate which stemmer to be used.
Throws:
InterruptedException - for ant

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Implementation of the execute function (Task interface)

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException


Copyright © 2013. All Rights Reserved.