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)
| 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 |