org.aminds.lucene.analysis
クラス RegexFieldMatcher

java.lang.Object
  上位を拡張 org.aminds.lucene.analysis.RegexFieldMatcher
すべての実装されたインタフェース:
FieldMatcher

public class RegexFieldMatcher
extends Object
implements FieldMatcher

作成者:
Masashi Nakanishi

コンストラクタの概要
RegexFieldMatcher(String spec)
           
 
メソッドの概要
 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
 

コンストラクタの詳細

RegexFieldMatcher

public RegexFieldMatcher(String spec)
メソッドの詳細

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

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


Copyright (c) 2008-2011 Masashi Nakanishi.