org.weborganic.bastille.flint
Class ClearIndex

java.lang.Object
  extended by org.weborganic.bastille.flint.ClearIndex
All Implemented Interfaces:
ContentGenerator

public final class ClearIndex
extends Object
implements ContentGenerator

Clears the content of the index.

The index(es) must be located in the directory specified by the FlintConfig.

Multiple indexes can be cleared at once if specified as a comma separated list.

Note: access to this is generator MUST be made secured in the Web descriptor.

Since:
0.6.20

Constructor Summary
ClearIndex()
           
 
Method Summary
 void process(ContentRequest req, XMLWriter xml)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClearIndex

public ClearIndex()
Method Detail

process

public void process(ContentRequest req,
                    XMLWriter xml)
             throws BerliozException,
                    IOException
Specified by:
process in interface ContentGenerator
Throws:
BerliozException
IOException