类 MyAttachmentTerm

  • 所有已实现的接口:
    Serializable

    public final class MyAttachmentTerm
    extends javax.mail.search.StringTerm
    description: 附件搜索
    作者:
    lzw
    另请参阅:
    序列化表格
    Date:
    2023-04-25 9:25
    • 字段概要

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

        ignoreCase, pattern
    • 构造器概要

      构造器 
      构造器 说明
      MyAttachmentTerm​(String pattern, Boolean hasAttachment)
      Construct a StringTerm with the given pattern.
    • 构造器详细资料

      • MyAttachmentTerm

        public MyAttachmentTerm​(String pattern,
                                Boolean hasAttachment)
        Construct a StringTerm with the given pattern. Case will be ignored.
        参数:
        pattern - the pattern
        hasAttachment - if has Attachment
    • 方法详细资料

      • 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