MCPcopy Create free account
hub / github.com/M66B/FairEmail / getBodyPart

Method getBodyPart

app/src/main/java/javax/mail/Multipart.java:129–135  ·  view source on GitHub ↗

Get the specified Part. Parts are numbered starting at 0. @param index the index of the desired Part @return the Part @exception IndexOutOfBoundsException if the given index is out of range. @exception MessagingException for other failures

(int index)

Source from the content-addressed store, hash-verified

127 * @exception MessagingException for other failures
128 */
129 public synchronized BodyPart getBodyPart(int index)
130 throws MessagingException {
131 if (parts == null)
132 throw new IndexOutOfBoundsException("No such BodyPart");
133
134 return parts.elementAt(index);
135 }
136
137 /**
138 * Remove the specified part from the multipart message.

Callers 5

deletePartMethod · 0.95
getHtmlMethod · 0.95
getMessagePartsMethod · 0.95
getStructureMethod · 0.95
matchPartMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected