Name
Provider
Synopsis
This is an abstract class that describes a particular protocol implementation, such as POP3, SMTP, or IMAP.
public class Provider { // No Constructor // Inner Classes public static class Type; // Property Accessor Methods (by property name) public String getClassName(); public String getProtocol(); public Provider.Type getType(); public String getVendor(); public String getVersion(); // Public Methods Overriding Object public String toString(); }
Passed To
javax.mail.Session.{getStore()
, getTransport()
, setProvider()}
Returned By
javax.mail.Session.{getProvider()
, getProviders()}
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.