org.apache.lucene.index
Class PayloadProcessorProvider.DirPayloadProcessor

java.lang.Object
  extended by org.apache.lucene.index.PayloadProcessorProvider.DirPayloadProcessor
Enclosing class:
PayloadProcessorProvider

public abstract static class PayloadProcessorProvider.DirPayloadProcessor
extends Object

Returns a PayloadProcessorProvider.DirPayloadProcessor for a given Term which allows processing the payloads of different terms differently. If you intent to process all your payloads the same way, then you can ignore the given term.

NOTE: if you protect your PayloadProcessorProvider.DirPayloadProcessor from concurrency issues, then you shouldn't worry about any such issues when PayloadProcessorProvider.DirPayloadProcessors are requested for different terms.


Constructor Summary
PayloadProcessorProvider.DirPayloadProcessor()
           
 
Method Summary
abstract  PayloadProcessorProvider.PayloadProcessor getProcessor(Term term)
          Returns a PayloadProcessorProvider.DirPayloadProcessor for the given term.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PayloadProcessorProvider.DirPayloadProcessor

public PayloadProcessorProvider.DirPayloadProcessor()
Method Detail

getProcessor

public abstract PayloadProcessorProvider.PayloadProcessor getProcessor(Term term)
                                                                throws IOException
Returns a PayloadProcessorProvider.DirPayloadProcessor for the given term.

Throws:
IOException


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.