Package | Description |
---|---|
javax.mail |
Classes modelling a mail system.
|
Modifier and Type | Method and Description |
---|---|
Provider |
Session.getProvider(java.lang.String protocol)
Returns the default Provider for the protocol specified.
|
Store |
Session.getStore()
Get a Store object that implements this user's desired Store protocol.
|
Store |
Session.getStore(Provider provider)
Get an instance of the store specified by Provider.
|
Store |
Session.getStore(java.lang.String protocol)
Get a Store object that implements the specified protocol.
|
Store |
Session.getStore(URLName url)
Get a Store object for the given URLName.
|
Transport |
Session.getTransport()
Get a Transport object that implements this user's desired Transport
protocol.
|
Transport |
Session.getTransport(Address address)
Get a Transport object that can transport a Message to the specified
address type.
|
Transport |
Session.getTransport(Provider provider)
Get an instance of the transport specified in the Provider.
|
Transport |
Session.getTransport(java.lang.String protocol)
Get a Transport object that implements the specified protocol.
|
Transport |
Session.getTransport(URLName url)
Get a Transport object for the given URLName.
|
void |
Session.setProvider(Provider provider)
Set the passed Provider to be the default implementation for the protocol
in Provider.protocol overriding any previous values.
|
© Copyright 2003, 2004 The Free Software Foundation, All rights reserved