类 MyReceiverTerm

  • 所有已实现的接口:
    Serializable

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

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

        ignoreCase
    • 构造器概要

      构造器 
      构造器 说明
      MyReceiverTerm​(String pattern)
      Construct a StringTerm with the given pattern.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      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
    • 构造器详细资料

      • MyReceiverTerm

        public MyReceiverTerm​(String pattern)
        Construct a StringTerm with the given pattern. Case will be ignored.
        参数:
        pattern - the pattern
    • 方法详细资料

      • 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