マルチパート MIME エンティティ内で同じレベルにある現在の MIME エンティティの直前の MIME エンティティを返します。
戻り値 | 説明 |
---|---|
NotesMIMEEntity | 同じレベルにある、前の MIME エンティティまたは null です。 |
// Do not automatically convert MIME to rich text
session.setConvertMIME(false);
var mime:NotesMIMEEntity = currentDocument.getDocument().getMIMEEntity();
if (mime != null) {
// Drill down to last child at bottom of first branch
var child:NotesMIMEEntity = mime.getNextEntity(NotesMIMEEntity.SEARCH_BREADTH);
while (child != null) {
mime = child;
child = mime.getNextEntity(NotesMIMEEntity.SEARCH_BREADTH);
}
// Get content of all children at bottom level
// of first branch in reverse order
while (mime != null) {
requestScope.status += mime.getContentAsText() + "¥n";
mime = mime.getPrevSibling();
}
} else {
requestScope.status = "Not MIME";
}
// Restore conversion
session.setConvertMIME(true);
Java™ MIMEEntity クラスの getPrevSibling メソッド