alt.javax.mail

Interface Session

public interface Session

Method Summary
booleangetDebug()
SessiongetDefaultInstance(Properties props, Authenticator authenticator)
SessiongetDefaultInstance(Properties props)
FoldergetFolder(URLName url)
SessiongetInstance(Properties props, Authenticator authenticator)
SessiongetInstance(Properties props)
PasswordAuthenticationgetPasswordAuthentication(URLName url)
PropertiesgetProperties()
StringgetProperty(String name)
ProvidergetProvider(String protocol)
Provider[]getProviders()
StoregetStore()
StoregetStore(String protocol)
StoregetStore(URLName url)
StoregetStore(Provider provider)
TransportgetTransport()
TransportgetTransport(String protocol)
TransportgetTransport(URLName url)
TransportgetTransport(Provider provider)
TransportgetTransport(Address address)
SessiongetWrappedSession()
PasswordAuthenticationrequestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String defaultUserName)
voidsetDebug(boolean debug)
voidsetPasswordAuthentication(URLName url, PasswordAuthentication pw)
voidsetProvider(Provider provider)

Method Detail

getDebug

public boolean getDebug()

getDefaultInstance

public Session getDefaultInstance(Properties props, Authenticator authenticator)

getDefaultInstance

public Session getDefaultInstance(Properties props)

getFolder

public Folder getFolder(URLName url)

getInstance

public Session getInstance(Properties props, Authenticator authenticator)

getInstance

public Session getInstance(Properties props)

getPasswordAuthentication

public PasswordAuthentication getPasswordAuthentication(URLName url)

getProperties

public Properties getProperties()

getProperty

public String getProperty(String name)

getProvider

public Provider getProvider(String protocol)

getProviders

public Provider[] getProviders()

getStore

public Store getStore()

getStore

public Store getStore(String protocol)

getStore

public Store getStore(URLName url)

getStore

public Store getStore(Provider provider)

getTransport

public Transport getTransport()

getTransport

public Transport getTransport(String protocol)

getTransport

public Transport getTransport(URLName url)

getTransport

public Transport getTransport(Provider provider)

getTransport

public Transport getTransport(Address address)

getWrappedSession

public Session getWrappedSession()

requestPasswordAuthentication

public PasswordAuthentication requestPasswordAuthentication(InetAddress addr, int port, String protocol, String prompt, String defaultUserName)

setDebug

public void setDebug(boolean debug)

setPasswordAuthentication

public void setPasswordAuthentication(URLName url, PasswordAuthentication pw)

setProvider

public void setProvider(Provider provider)
Copyright © 2002 Mock Objects. All Rights Reserved.