Name

Provider.Type

Synopsis

An inner class of Provider, identifying whether the Provider in question is a message store or a message transport.

public static class Provider.Type {
// No Constructor
                  // Public Constants
   public static final Provider.Type STORE;  
   public static final Provider.Type TRANSPORT;  
}

Returned By

javax.mail.Provider.getType()

Type Of

Provider.Type.{STORE, TRANSPORT}

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.