C# Класс Lucene.Net.Analysis.Util.TokenFilterFactory

Abstract parent class for analysis factories that create TokenFilter instances.
Наследование: AbstractAnalysisFactory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Create ( TokenStream input ) : TokenStream

Transform the specified input TokenStream

ForName ( string name, string>.IDictionary args ) : TokenFilterFactory

looks up a tokenfilter by name from context classpath

LookupClass ( string name ) : Type

looks up a tokenfilter class by name from context classpath

ReloadTokenFilters ( ) : void

Reloads the factory list from the given ClassLoader. Changes to the factories are visible after the method ends, all iterators (#availableTokenFilters(),...) stay consistent.

NOTE: Only new factories are added, existing ones are never removed or replaced.

This method is expensive and should only be called for discovery of new factories on the given classpath/classloader!

Защищенные методы

Метод Описание
TokenFilterFactory ( string>.IDictionary args ) : System

Initialize this factory via a set of key-value pairs.

Описание методов

Create() публичный абстрактный Метод

Transform the specified input TokenStream
public abstract Create ( TokenStream input ) : TokenStream
input TokenStream
Результат TokenStream

ForName() публичный статический Метод

looks up a tokenfilter by name from context classpath
public static ForName ( string name, string>.IDictionary args ) : TokenFilterFactory
name string
args string>.IDictionary
Результат TokenFilterFactory

LookupClass() публичный статический Метод

looks up a tokenfilter class by name from context classpath
public static LookupClass ( string name ) : Type
name string
Результат System.Type

ReloadTokenFilters() публичный статический Метод

Reloads the factory list from the given ClassLoader. Changes to the factories are visible after the method ends, all iterators (#availableTokenFilters(),...) stay consistent.

NOTE: Only new factories are added, existing ones are never removed or replaced.

This method is expensive and should only be called for discovery of new factories on the given classpath/classloader!

public static ReloadTokenFilters ( ) : void
Результат void

TokenFilterFactory() защищенный Метод

Initialize this factory via a set of key-value pairs.
protected TokenFilterFactory ( string>.IDictionary args ) : System
args string>.IDictionary
Результат System