|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KEMailSettings
public class KEMailSettings
This is just a small class to facilitate accessing e-mail settings in a sane way, and allowing any program to manage multiple e-mail profiles effortlessly
Field Summary | |
---|---|
static int |
ClientProgram
The list of settings that I thought of when I wrote this class. |
static int |
ClientTerminal
|
static int |
EmailAddress
|
static int |
InServer
|
static int |
InServerLogin
|
static int |
InServerMBXType
|
static int |
InServerPass
|
static int |
InServerTLS
|
static int |
InServerType
|
static int |
Organization
|
static int |
OTHER
|
static int |
OutServer
|
static int |
OutServerCommand
|
static int |
OutServerLogin
|
static int |
OutServerPass
|
static int |
OutServerTLS
|
static int |
OutServerType
|
static int |
POP3
The various extensions allowed. |
static int |
RealName
|
static int |
ReplyToAddress
|
static int |
SMTP
|
Constructor Summary | |
---|---|
|
KEMailSettings()
Default constructor, just sets things up. |
protected |
KEMailSettings(java.lang.Class dummy)
|
Method Summary | |
---|---|
java.lang.String |
currentProfileName()
Returns the name of the current profile. |
java.lang.String |
defaultProfileName()
Returns the name of the default profile. |
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
protected void |
finalize()
Deletes the wrapped C++ instance |
java.lang.String |
getSetting(int s)
Get one of the predefined "basic" settings. |
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
java.util.ArrayList |
profiles()
List of profiles available. |
void |
setDefault(java.lang.String def)
Sets a new default. |
void |
setProfile(java.lang.String s)
Change the current profile. |
void |
setSetting(int s,
java.lang.String v)
Set one of the predefined "basic" settings. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ClientProgram
getSetting(int)
,
setSetting(int, java.lang.String)
,
#getExtendedSetting
,
#setExtendedSetting
,
Constant Field Valuespublic static final int ClientTerminal
public static final int RealName
public static final int EmailAddress
public static final int ReplyToAddress
public static final int Organization
public static final int OutServer
public static final int OutServerLogin
public static final int OutServerPass
public static final int OutServerType
public static final int OutServerCommand
public static final int OutServerTLS
public static final int InServer
public static final int InServerLogin
public static final int InServerPass
public static final int InServerType
public static final int InServerMBXType
public static final int InServerTLS
public static final int POP3
public static final int SMTP
public static final int OTHER
Constructor Detail |
---|
protected KEMailSettings(java.lang.Class dummy)
public KEMailSettings()
Method Detail |
---|
public java.util.ArrayList profiles()
public java.lang.String currentProfileName()
public void setProfile(java.lang.String s)
s
- the name of the new profilepublic java.lang.String defaultProfileName()
public void setDefault(java.lang.String def)
def
- the new defaultpublic java.lang.String getSetting(int s)
s
- the setting to get
public void setSetting(int s, java.lang.String v)
s
- the setting to setv
- the new value of the setting, or null to
unsetprotected void finalize() throws java.lang.InternalError
finalize
in class java.lang.Object
java.lang.InternalError
public void dispose()
public boolean isDisposed()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |