public abstract class AbstractServerParameters extends AbstractServerConfig 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 outputFile) |
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 inputFile) |
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 outputFile)
Saves the current parameters in the file they where loaded from.
|
equals, getConfigFileIn, getConfigFileName, hashCode, read, toString, write
clone, deepClone
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 outputFile) throws java.lang.Exception
write
in class AbstractServerConfig
java.io.IOException
java.lang.Exception
public void read(ApplicationContext ctx, java.io.File inputFile) throws java.lang.Exception
read
in class AbstractServerConfig
java.lang.Exception
protected abstract void fillDefaultValues(NdfProperties props)
protected abstract NdfHandler createNdfHandler()
protected abstract NdfWriter createNdfWriter(ApplicationContext ctx, java.io.File outputFile)
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class DumpableObject
Copyright © 2014 EsprIT-Systems. All Rights Reserved.