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

Method getName

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

Get the name of this folder.

()

Source from the content-addressed store, hash-verified

516 * Get the name of this folder.
517 */
518 @Override
519 public synchronized String getName() {
520 /* Return the last component of this Folder's full name.
521 * Folder components are delimited by the separator character.
522 */
523 if (name == null) {
524 try {
525 name = fullName.substring(
526 fullName.lastIndexOf(getSeparator()) + 1
527 );
528 } catch (MessagingException mex) { }
529 }
530 return name;
531 }
532
533 /**
534 * Get the fullname of this folder.

Callers

nothing calls this directly

Calls 1

getSeparatorMethod · 0.95

Tested by

no test coverage detected