org.apache.uima.lucas.indexer.analysis
Class PositionFilterFactory

java.lang.Object
  extended by org.apache.uima.lucas.indexer.analysis.PositionFilterFactory
All Implemented Interfaces:
TokenFilterFactory

public class PositionFilterFactory
extends Object
implements TokenFilterFactory


Field Summary
static String FIRST_POSITION_PARAMETER_VALUE
           
static String LAST_POSITION_PARAMETER_VALUE
           
static String POSITION_PARAMETER
           
 
Constructor Summary
PositionFilterFactory()
           
 
Method Summary
 org.apache.lucene.analysis.TokenFilter createTokenFilter(org.apache.lucene.analysis.TokenStream tokenStream, Properties properties)
           
 void preloadResources(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

POSITION_PARAMETER

public static final String POSITION_PARAMETER
See Also:
Constant Field Values

FIRST_POSITION_PARAMETER_VALUE

public static final String FIRST_POSITION_PARAMETER_VALUE
See Also:
Constant Field Values

LAST_POSITION_PARAMETER_VALUE

public static final String LAST_POSITION_PARAMETER_VALUE
See Also:
Constant Field Values
Constructor Detail

PositionFilterFactory

public PositionFilterFactory()
Method Detail

createTokenFilter

public org.apache.lucene.analysis.TokenFilter createTokenFilter(org.apache.lucene.analysis.TokenStream tokenStream,
                                                                Properties properties)
                                                         throws IOException
Specified by:
createTokenFilter in interface TokenFilterFactory
Throws:
IOException

preloadResources

public void preloadResources(Properties properties)
                      throws IOException
Specified by:
preloadResources in interface TokenFilterFactory
Throws:
IOException


Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.