本文整理了Java中com.fsck.k9.mail.Message.getFlags()
方法的一些代码示例,展示了Message.getFlags()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Message.getFlags()
方法的具体详情如下:
包路径:com.fsck.k9.mail.Message
类名称:Message
方法名:getFlags
暂无
代码示例来源:origin: k9mail/k-9
private void findPartsForPgpInlinePass() {
List<Part> inlineParts = MessageCryptoStructureDetector.findPgpInlineParts(currentMessage);
for (Part part : inlineParts) {
if (!processSignedOnly && !MessageCryptoStructureDetector.isPartPgpInlineEncrypted(part)) {
continue;
}
if (!currentMessage.getFlags().contains(Flag.X_DOWNLOADED_FULL)) {
if (MessageCryptoStructureDetector.isPartPgpInlineEncrypted(part)) {
addErrorAnnotation(part, CryptoError.OPENPGP_ENCRYPTED_BUT_INCOMPLETE, NO_REPLACEMENT_PART);
} else {
addErrorAnnotation(part, CryptoError.OPENPGP_SIGNED_BUT_INCOMPLETE, NO_REPLACEMENT_PART);
}
continue;
}
CryptoPart cryptoPart = new CryptoPart(CryptoPartType.PGP_INLINE, part);
partsToProcess.add(cryptoPart);
}
}
代码示例来源:origin: k9mail/k-9
cv.put("date", message.getSentDate() == null
? System.currentTimeMillis() : message.getSentDate().getTime());
cv.put("flags", LocalStore.serializeFlags(message.getFlags()));
cv.put("deleted", message.isSet(Flag.DELETED) ? 1 : 0);
cv.put("read", message.isSet(Flag.SEEN) ? 1 : 0);
代码示例来源:origin: k9mail/k-9
String combinedFlags = ImapUtility.combineFlags(message.getFlags(),
canCreateKeywords || store.getPermanentFlagsIndex().contains(Flag.FORWARDED));
String command = String.format(Locale.US, "APPEND %s (%s) {%d}", escapedFolderName,
内容来源于网络,如有侵权,请联系作者删除!