|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kom.tools.config.Config | +--kom.smtpd.SMTPConfig
SMTP server configuration data and methods
Field Summary | |
java.lang.String |
admin
Administrator e-mail address |
int |
defaultThreads
|
java.lang.String[] |
mailDomains
Domain for local addresses |
java.lang.String |
mailHost
The local host name |
java.lang.String |
mailLogFile
Log mail traffic in this file |
int |
mailPort
SMTP server TCP/IP port |
java.lang.String[] |
mailRoots
Directory for mail files |
int |
maxThreads
|
int |
minThreads
|
int |
numThreads
|
java.util.Vector |
preload
Pre-load these classes |
(package private) static java.lang.String |
section
|
java.lang.String |
serverURL
HTTP server URL |
int |
timeOut
|
Fields inherited from class kom.tools.config.Config |
currentParameter,
currentSection,
errorCode,
errorLine,
FILE_OPEN_ERROR,
fileName,
NO_ERROR,
sections,
SYNTAX_ERROR |
Constructor Summary | |
SMTPConfig(java.lang.String fileName)
SMTP configuration setup |
Method Summary | |
protected void |
errorMsg(java.lang.String section,
java.lang.String msg)
Configuration error message |
boolean |
read()
Read the configuration file and use its values. |
private void |
settings()
Get the settings from the configuration file |
Methods inherited from class kom.tools.config.Config |
getPara,
getPara,
getPara,
getPara,
getSections,
getValue,
getValues,
handleLine,
main,
section |
Methods inherited from class java.lang.Object |
|
Field Detail |
public int timeOut
public java.lang.String mailHost
public java.lang.String[] mailRoots
public java.lang.String[] mailDomains
public java.lang.String serverURL
public int mailPort
public int defaultThreads
public int numThreads
public int minThreads
public int maxThreads
public java.util.Vector preload
public java.lang.String admin
public java.lang.String mailLogFile
static final java.lang.String section
Constructor Detail |
public SMTPConfig(java.lang.String fileName)
Path
- of configuration fileMethod Detail |
protected void errorMsg(java.lang.String section, java.lang.String msg)
private void settings()
public boolean read()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |