public abstract class AbstractServerParameters extends ServerConfigObject implements Clearable
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractServerParameters(java.lang.String configFileName) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the content
|
protected abstract NdfHandler |
createNdfHandler() |
protected abstract NdfWriter |
createNdfWriter(ApplicationContext ctx,
java.io.File configDir) |
boolean |
equalValues(AbstractServerParameters params)
Compares the values of both parameter maps.
|
protected abstract void |
fillDefaultValues(NdfProperties props) |
NdfProperties |
getProperties() |
void |
read(ApplicationContext ctx,
java.io.File configDir) |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
void |
write(ApplicationContext ctx,
java.io.File configDir)
Saves the current parameters in the file they where loaded from.
|
configFileIn, equals, getConfigFileName, hashCode, read, toString, writeclone, copyconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringprotected AbstractServerParameters(java.lang.String configFileName)
public void clear()
Clearablepublic final NdfProperties getProperties()
public boolean equalValues(AbstractServerParameters params)
public final void write(ApplicationContext ctx, java.io.File configDir) throws java.lang.Exception
write in class ServerConfigObjectjava.io.IOExceptionjava.lang.Exceptionpublic void read(ApplicationContext ctx, java.io.File configDir) throws java.lang.Exception
read in class ServerConfigObjectjava.lang.Exceptionprotected abstract void fillDefaultValues(NdfProperties props)
protected abstract NdfHandler createNdfHandler()
protected abstract NdfWriter createNdfWriter(ApplicationContext ctx, java.io.File configDir)
public DumpString toDumpString(DumpString s)
DumpabletoDumpString in interface DumpabletoDumpString in class DumpableObjectCopyright © 2013 EsprIT-Systems. All Rights Reserved.