org.aminds.lucene.analysis
クラス SimpleFieldMatcher
java.lang.Object
org.aminds.lucene.analysis.SimpleFieldMatcher
- すべての実装されたインタフェース:
- FieldMatcher
public class SimpleFieldMatcher
- extends Object
- implements 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. |
| クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleFieldMatcher
public SimpleFieldMatcher(String spec)
getSpec
public String getSpec()
- インタフェース
FieldMatcher の記述:
- Get a string to specify this matcher. It may often be the string passed
to the constructor to create this matcher.
- 定義:
- インタフェース
FieldMatcher 内の getSpec
- 戻り値:
- a string representing the matcher
matches
public boolean matches(String fieldName)
- インタフェース
FieldMatcher の記述:
- Returns whether this matcher object matches the given field name.
- 定義:
- インタフェース
FieldMatcher 内の matches
- パラメータ:
fieldName - string of field name
- 戻り値:
- true if it matches
Copyright (c) 2008-2011 Masashi Nakanishi.