|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--kom.tools.config.Config | +--kom.tools.web.HTTPConfig | +--kom.news.NewsConfig
Configuration data for KOM 2000
Field Summary | |
int |
defaultNewsPort
|
java.lang.String |
defaultNewsServer
|
Fields inherited from class kom.tools.web.HTTPConfig |
admin,
allowHosts,
debugLogFile,
debugWriter,
defaultThreads,
denyHosts,
errorFile,
fSeparator,
host,
KOMroot,
maxThreads,
minThreads,
numThreads,
port,
preload,
timeOut,
uploadDir |
Fields inherited from class kom.tools.config.Config |
currentParameter,
currentSection,
errorCode,
errorLine,
FILE_OPEN_ERROR,
fileName,
NO_ERROR,
sections,
SYNTAX_ERROR |
Constructor Summary | |
NewsConfig(java.lang.String fileName)
Constructor |
Method Summary | |
boolean |
read()
Reads and parses the configuration file |
private void |
settings()
Converts configuration file data to internal form |
Methods inherited from class kom.tools.web.HTTPConfig |
debugLog,
errorLog,
errorMsg |
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 java.lang.String defaultNewsServer
public int defaultNewsPort
Constructor Detail |
public NewsConfig(java.lang.String fileName)
fileName
- path to configuration file, which will be parsedMethod Detail |
private void settings()
public boolean read()
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |