net.sourceforge.wopa.picture.filter
类 MustContainsWordsImageFilter

java.lang.Object
  继承者 net.sourceforge.wopa.filter.TagFilter
      继承者 net.sourceforge.wopa.filter.ImageFilter
          继承者 net.sourceforge.wopa.picture.filter.MustContainsWordsImageFilter
所有已实现的接口:
java.io.Serializable, java.lang.Cloneable, org.htmlparser.NodeFilter

public class MustContainsWordsImageFilter
extends ImageFilter

图片路径必须包含关键字的过滤器

作者:
Li Rui
另请参见:
序列化表格

字段摘要
private static long serialVersionUID
           
 
从类 net.sourceforge.wopa.filter.TagFilter 继承的字段
param
 
构造函数摘要
MustContainsWordsImageFilter(java.lang.String must_contains_words)
           
 
方法摘要
 boolean accept(org.htmlparser.tags.ImageTag image)
          设定图片通过的条件
 
从类 net.sourceforge.wopa.filter.ImageFilter 继承的方法
accept
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

serialVersionUID

private static final long serialVersionUID
另请参见:
常量字段值
构造函数详细信息

MustContainsWordsImageFilter

public MustContainsWordsImageFilter(java.lang.String must_contains_words)
方法详细信息

accept

public boolean accept(org.htmlparser.tags.ImageTag image)
从类 ImageFilter 复制的描述
设定图片通过的条件

指定者:
ImageFilter 中的 accept
返回:
true-通过,false-不通过