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

Method getFolder

app/src/main/java/javax/mail/Session.java:653–659  ·  view source on GitHub ↗

Get a closed Folder object for the given URLName. If the requested Folder object cannot be obtained, null is returned. The "scheme" part of the URL string (Refer RFC 1738) is used to locate the Store protocol. The rest of the URL string (that is, the "schemepart", as per RFC 1738) is used by th

(URLName url)

Source from the content-addressed store, hash-verified

651 * located or created.
652 */
653 public Folder getFolder(URLName url)
654 throws MessagingException {
655 // First get the Store
656 Store store = getStore(url);
657 store.connect();
658 return store.getFolder(url);
659 }
660
661 /**
662 * Get a Transport object that implements this user's desired

Callers

nothing calls this directly

Calls 3

getStoreMethod · 0.95
getFolderMethod · 0.95
connectMethod · 0.45

Tested by

no test coverage detected