org.apache.uima.lucas.indexer.analysis
Class ReplaceFilterFactory
java.lang.Object
org.apache.uima.lucas.indexer.analysis.ReplaceFilterFactory
- All Implemented Interfaces:
- TokenFilterFactory
public class ReplaceFilterFactory
- extends Object
- implements TokenFilterFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FILE_PATH_PARAMETER
public static final String FILE_PATH_PARAMETER
- See Also:
- Constant Field Values
ReplaceFilterFactory
public ReplaceFilterFactory(MapFileReaderFactory mapFileReaderFactory)
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
getMapping
public Map<String,String> getMapping(String filePath)
throws IOException
- Throws:
IOException
Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.