|
|||||||||
| Home >> All >> alt >> javax >> [ mail overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
alt.javax.mail
Class ServiceImpl

java.lang.Objectalt.javax.mail.ServiceImpl
- All Implemented Interfaces:
- Service
- Direct Known Subclasses:
- TransportImpl
- public class ServiceImpl
- extends java.lang.Object
- implements Service
- extends java.lang.Object
| Field Summary | |
private javax.mail.Service |
service
|
| Constructor Summary | |
ServiceImpl(javax.mail.Service service)
|
|
| Method Summary | |
void |
addConnectionListener(javax.mail.event.ConnectionListener connectionListener)
|
void |
close()
|
void |
connect()
|
void |
connect(java.lang.String host,
int port,
java.lang.String user,
java.lang.String password)
|
void |
connect(java.lang.String host,
java.lang.String user,
java.lang.String password)
|
javax.mail.URLName |
getURLName()
|
boolean |
isConnected()
|
void |
removeConnectionListener(javax.mail.event.ConnectionListener connectionListener)
|
java.lang.String |
toString()
Convert this Object to a human-readable String. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
service
private final javax.mail.Service service
| Constructor Detail |
ServiceImpl
public ServiceImpl(javax.mail.Service service)
| Method Detail |
connect
public void connect()
throws javax.mail.MessagingException
connect
public void connect(java.lang.String host, java.lang.String user, java.lang.String password) throws javax.mail.MessagingException
connect
public void connect(java.lang.String host, int port, java.lang.String user, java.lang.String password) throws javax.mail.MessagingException
isConnected
public boolean isConnected()
- Specified by:
isConnectedin interfaceService
close
public void close()
throws javax.mail.MessagingException
getURLName
public javax.mail.URLName getURLName()
- Specified by:
getURLNamein interfaceService
addConnectionListener
public void addConnectionListener(javax.mail.event.ConnectionListener connectionListener)
- Specified by:
addConnectionListenerin interfaceService
removeConnectionListener
public void removeConnectionListener(javax.mail.event.ConnectionListener connectionListener)
- Specified by:
removeConnectionListenerin interfaceService
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object - Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string concatenation with this object. If the result is
null, string concatenation will instead use"null".The default implementation returns
getClass().getName() + "@" + Integer.toHexString(hashCode()).
|
|||||||||
| Home >> All >> alt >> javax >> [ mail overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
alt.javax.mail.ServiceImpl