org.apache.cocoon.samples
Class LuceneUtil
java.lang.Object
org.apache.cocoon.samples.LuceneUtil
- All Implemented Interfaces:
- Contextualizable, Serviceable
public class LuceneUtil
- extends Object
- implements Contextualizable, Serviceable
This is a sample helper class that can be used from flow to
create an index.
- Version:
- $Id: LuceneUtil.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LuceneUtil
public LuceneUtil()
contextualize
public void contextualize(Context context)
throws ContextException
- Specified by:
contextualize
in interface Contextualizable
- Throws:
ContextException
service
public void service(ServiceManager manager)
throws ServiceException
- Specified by:
service
in interface Serviceable
- Throws:
ServiceException
createIndex
public void createIndex(String baseURL,
boolean create)
throws ProcessingException
- Throws:
ProcessingException
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.