Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Public Member Functions | Public Attributes | Protected Attributes | List of all members
Lucene.Net.Analysis.Sinks.DateRecognizerSinkFilter Class Reference

Inherits Lucene.Net.Analysis.TeeSinkTokenFilter.SinkFilter.

Public Member Functions

 DateRecognizerSinkFilter ()
 DateRecognizerSinkFilter (IFormatProvider dateFormat)
override bool Accept (AttributeSource source)
 Returns true, iff the current state of the passed-in AttributeSource shall be stored in the sink.
- Public Member Functions inherited from Lucene.Net.Analysis.TeeSinkTokenFilter.SinkFilter
virtual void Reset ()
 Called by SinkTokenStream.Reset(). This method does nothing by default and can optionally be overridden.

Public Attributes

const string DATE_TYPE = "date"

Protected Attributes

IFormatProvider dateFormat
ITermAttribute termAtt

Detailed Description

Definition at line 37 of file DateRecognizerSinkFilter.cs.

Constructor & Destructor Documentation

Lucene.Net.Analysis.Sinks.DateRecognizerSinkFilter.DateRecognizerSinkFilter ( )

Definition at line 47 of file DateRecognizerSinkFilter.cs.

Lucene.Net.Analysis.Sinks.DateRecognizerSinkFilter.DateRecognizerSinkFilter ( IFormatProvider  dateFormat)

Definition at line 53 of file DateRecognizerSinkFilter.cs.

Member Function Documentation

override bool Lucene.Net.Analysis.Sinks.DateRecognizerSinkFilter.Accept ( AttributeSource  source)

Returns true, iff the current state of the passed-in AttributeSource shall be stored in the sink.

Implements Lucene.Net.Analysis.TeeSinkTokenFilter.SinkFilter.

Definition at line 58 of file DateRecognizerSinkFilter.cs.

Member Data Documentation

const string Lucene.Net.Analysis.Sinks.DateRecognizerSinkFilter.DATE_TYPE = "date"

Definition at line 39 of file DateRecognizerSinkFilter.cs.

IFormatProvider Lucene.Net.Analysis.Sinks.DateRecognizerSinkFilter.dateFormat

Definition at line 41 of file DateRecognizerSinkFilter.cs.

ITermAttribute Lucene.Net.Analysis.Sinks.DateRecognizerSinkFilter.termAtt

Definition at line 42 of file DateRecognizerSinkFilter.cs.

The documentation for this class was generated from the following file: