类 MyFormTerm

  • 所有已实现的接口:
    Serializable

    public final class MyFormTerm
    extends javax.mail.search.AddressStringTerm
    description:发件人搜索
    作者:
    lzw
    另请参阅:
    序列化表格
    Date:
    2023-04-24 9:14
    • 字段概要

      • 从类继承的字段 javax.mail.search.StringTerm

        ignoreCase, pattern
    • 构造器概要

      构造器 
      构造器 说明
      MyFormTerm​(String pattern)
      Constructor.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      boolean match​(javax.mail.Message msg)
      This method applies a specific match criterion to the given message and returns the result.
      • 从类继承的方法 javax.mail.search.AddressStringTerm

        equals, match
      • 从类继承的方法 javax.mail.search.StringTerm

        getIgnoreCase, getPattern, hashCode, match
    • 构造器详细资料

      • MyFormTerm

        public MyFormTerm​(String pattern)
        Constructor.
        参数:
        pattern - the address pattern to be compared.
    • 方法详细资料

      • match

        public boolean match​(javax.mail.Message msg)
        This method applies a specific match criterion to the given message and returns the result.
        指定者:
        match 在类中 javax.mail.search.SearchTerm
        参数:
        msg - The match criterion is applied on this message
        返回:
        true, it the match succeeds, false if the match fails