public class MultiTokenizerFactory
extends org.apache.lucene.analysis.util.TokenizerFactory
implements org.apache.lucene.analysis.util.ResourceLoaderAware
限定符和类型 | 字段和说明 |
---|---|
private static java.util.Map<java.lang.String,java.lang.String> |
args |
protected org.apache.commons.logging.Log |
log |
private static java.lang.String |
name |
org.apache.lucene.analysis.util.TokenizerFactory |
tokenizerFactory |
构造器和说明 |
---|
MultiTokenizerFactory(java.util.Map<java.lang.String,java.lang.String> args) |
限定符和类型 | 方法和说明 |
---|---|
org.apache.lucene.analysis.Tokenizer |
create(org.apache.lucene.util.AttributeFactory factory) |
static java.lang.String |
getName() |
void |
inform(org.apache.lucene.analysis.util.ResourceLoader loader) |
static void |
init(java.lang.String name,
java.util.Map<java.lang.String,java.lang.String> args) |
availableTokenizers, create, findSPIName, forName, lookupClass, reloadTokenizers
get, get, get, get, get, getBoolean, getChar, getClassArg, getFloat, getInt, getLines, getLuceneMatchVersion, getOriginalArgs, getPattern, getSet, getSnowballWordSet, getWordSet, isExplicitLuceneMatchVersion, require, require, require, requireBoolean, requireChar, requireFloat, requireInt, setExplicitLuceneMatchVersion, splitAt, splitFileNames
private static java.lang.String name
private static java.util.Map<java.lang.String,java.lang.String> args
public org.apache.lucene.analysis.util.TokenizerFactory tokenizerFactory
protected final org.apache.commons.logging.Log log
public MultiTokenizerFactory(java.util.Map<java.lang.String,java.lang.String> args)
args
- public org.apache.lucene.analysis.Tokenizer create(org.apache.lucene.util.AttributeFactory factory)
create
在类中 org.apache.lucene.analysis.util.TokenizerFactory
public void inform(org.apache.lucene.analysis.util.ResourceLoader loader) throws java.io.IOException
inform
在接口中 org.apache.lucene.analysis.util.ResourceLoaderAware
java.io.IOException
public static void init(java.lang.String name, java.util.Map<java.lang.String,java.lang.String> args)
name
- args
- public static java.lang.String getName()