org.aminds.lucene.analysis
インタフェース FieldMatcher

既知の実装クラスの一覧:
RegexFieldMatcher, SimpleFieldMatcher

public interface FieldMatcher

作成者:
Masashi Nakanishi

メソッドの概要
 String getSpec()
          Get a string to specify this matcher.
 boolean matches(String fieldName)
          Returns whether this matcher object matches the given field name.
 

メソッドの詳細

matches

boolean matches(String fieldName)
Returns whether this matcher object matches the given field name.

パラメータ:
fieldName - string of field name
戻り値:
true if it matches

getSpec

String getSpec()
Get a string to specify this matcher. It may often be the string passed to the constructor to create this matcher.

戻り値:
a string representing the matcher


Copyright (c) 2008-2011 Masashi Nakanishi.