C# 클래스 org.apache.lucene.analysis.sinks.DateRecognizerSinkFilter

Attempts to parse the CharTermAttribute#buffer() as a Date using a java.text.DateFormat. If the value is a Date, it will add it to the sink.

상속: TeeSinkTokenFilter.SinkFilter
파일 보기 프로젝트 열기: paulirwin/lucene.net

보호된 프로퍼티들

프로퍼티 타입 설명
dateFormat DateFormat
termAtt CharTermAttribute

공개 메소드들

메소드 설명
DateRecognizerSinkFilter ( ) : System

Uses {@link java.text.DateFormat#getDateInstance(int, Locale) DateFormat#getDateInstance(DateFormat.DEFAULT, Locale.ROOT)} as the java.text.DateFormat object.

DateRecognizerSinkFilter ( DateFormat dateFormat ) : System
accept ( AttributeSource source ) : bool

메소드 상세

DateRecognizerSinkFilter() 공개 메소드

Uses {@link java.text.DateFormat#getDateInstance(int, Locale) DateFormat#getDateInstance(DateFormat.DEFAULT, Locale.ROOT)} as the java.text.DateFormat object.
public DateRecognizerSinkFilter ( ) : System
리턴 System

DateRecognizerSinkFilter() 공개 메소드

public DateRecognizerSinkFilter ( DateFormat dateFormat ) : System
dateFormat DateFormat
리턴 System

accept() 공개 메소드

public accept ( AttributeSource source ) : bool
source AttributeSource
리턴 bool

프로퍼티 상세

dateFormat 보호되어 있는 프로퍼티

protected DateFormat dateFormat
리턴 DateFormat

termAtt 보호되어 있는 프로퍼티

protected CharTermAttribute termAtt
리턴 CharTermAttribute