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

Method getType

app/src/main/java/com/sun/mail/imap/IMAPFolder.java:717–727  ·  view source on GitHub ↗

Get the type of this folder.

()

Source from the content-addressed store, hash-verified

715 * Get the type of this folder.
716 */
717 @Override
718 public synchronized int getType() throws MessagingException {
719 if (opened) {
720 // never throw FolderNotFoundException if folder is open
721 if (attributes == null)
722 exists(); // try to fetch attributes
723 } else {
724 checkExists();
725 }
726 return type;
727 }
728
729 /**
730 * Check whether this folder is subscribed.

Callers

nothing calls this directly

Calls 2

existsMethod · 0.95
checkExistsMethod · 0.95

Tested by

no test coverage detected