本文整理了Java中javax.mail.internet.MimeMessage.isSet()
方法的一些代码示例,展示了MimeMessage.isSet()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。MimeMessage.isSet()
方法的具体详情如下:
包路径:javax.mail.internet.MimeMessage
类名称:MimeMessage
方法名:isSet
[英]Check whether the flag specified in the flag
argument is set in this message.
This implementation checks this message's internal flags
object.
[中]检查此消息中是否设置了flag
参数中指定的标志。
此实现检查此邮件的内部flags
对象。
代码示例来源:origin: camunda/camunda-bpm-platform
/**
* Test if the given Flags are set in this message.
*/
public synchronized boolean isSet(Flags.Flag flag)
throws MessagingException {
checkExpunged();
loadFlags();
return super.isSet(flag);
}
代码示例来源:origin: com.sun.mail/javax.mail
/**
* Test if the given Flags are set in this message.
*/
@Override
public synchronized boolean isSet(Flags.Flag flag)
throws MessagingException {
checkExpunged();
loadFlags();
return super.isSet(flag);
}
代码示例来源:origin: greenmail-mail-test/greenmail
public boolean isSet(Flags.Flag flag) {
try {
return getMimeMessage().isSet(flag);
} catch (MessagingException e) {
throw new IllegalStateException("Can not access flag " + flag, e);
}
}
代码示例来源:origin: org.apache.geronimo.javamail/geronimo-javamail_1.4_provider
/**
* Check whether the supplied flag is set.
* The default implementation checks the flags returned by {@link #getFlags()}.
*
* @param flag the flags to check for
* @return true if the flags is set
* @throws MessagingException if there was a problem accessing the Store
*/
public synchronized boolean isSet(Flags.Flag flag) throws MessagingException {
// load the flags, if needed
loadFlags();
return super.isSet(flag);
}
代码示例来源:origin: org.apache.james/james-server-core-library
/**
* @see javax.mail.Message#isSet(javax.mail.Flags.Flag)
*/
public boolean isSet(Flags.Flag flag) throws MessagingException {
return getWrappedMessage().isSet(flag);
}
代码示例来源:origin: jboss/jboss-javaee-specs
/**
* Test if the given Flags are set in this message.
*/
@Override
public synchronized boolean isSet(Flags.Flag flag)
throws MessagingException {
checkExpunged();
loadFlags();
return super.isSet(flag);
}
代码示例来源:origin: javax.mail/com.springsource.javax.mail
/**
* Test if the given Flags are set in this message.
*/
public synchronized boolean isSet(Flags.Flag flag)
throws MessagingException {
checkExpunged();
loadFlags();
return super.isSet(flag);
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.javax.mail
/**
* Test if the given Flags are set in this message.
*/
public synchronized boolean isSet(Flags.Flag flag)
throws MessagingException {
checkExpunged();
loadFlags();
return super.isSet(flag);
}
代码示例来源:origin: com.sun.mail/jakarta.mail
/**
* Test if the given Flags are set in this message.
*/
@Override
public synchronized boolean isSet(Flags.Flag flag)
throws MessagingException {
checkExpunged();
loadFlags();
return super.isSet(flag);
}
代码示例来源:origin: org.glassfish.metro/webservices-extra
/**
* Test if the given Flags are set in this message.
*/
@Override
public synchronized boolean isSet(Flags.Flag flag)
throws MessagingException {
checkExpunged();
loadFlags();
return super.isSet(flag);
}
代码示例来源:origin: com.sun.mail/android-mail
/**
* Test if the given Flags are set in this message.
*/
@Override
public synchronized boolean isSet(Flags.Flag flag)
throws MessagingException {
checkExpunged();
loadFlags();
return super.isSet(flag);
}
内容来源于网络,如有侵权,请联系作者删除!