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

Method getCount

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

Return the number of enclosed BodyPart objects. @return number of parts @exception MessagingException for failures @see #parts

()

Source from the content-addressed store, hash-verified

111 * @see #parts
112 */
113 public synchronized int getCount() throws MessagingException {
114 if (parts == null)
115 return 0;
116
117 return parts.size();
118 }
119
120 /**
121 * Get the specified Part. Parts are numbered starting at 0.

Callers 5

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

Calls 1

sizeMethod · 0.65

Tested by

no test coverage detected