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, write
clone, copy
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
protected AbstractServerParameters(java.lang.String configFileName)
public void clear()
Clearable
public 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 ServerConfigObject
java.io.IOException
java.lang.Exception
public void read(ApplicationContext ctx, java.io.File configDir) throws java.lang.Exception
read
in class ServerConfigObject
java.lang.Exception
protected abstract void fillDefaultValues(NdfProperties props)
protected abstract NdfHandler createNdfHandler()
protected abstract NdfWriter createNdfWriter(ApplicationContext ctx, java.io.File configDir)
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class DumpableObject
Copyright © 2013 EsprIT-Systems. All Rights Reserved.