net.simplace.core.customize.AbstractConfiguration
Abstract config file with important functions for parsing and writing Data to ASCII Configfiles
public abstract class AbstractConfiguration {
// Public Constructors
public AbstractConfiguration(File aConfigFile, Element aConfiguration);
// Protected Constructors
protected AbstractConfiguration();
// Protected Instance Variables
protected Vector iLinesOfFile;
protected File iFile;
protected Element iConfiguration;
// Public Instance Methods public void commit();
if is setModified() new Values will be written to config file.
public void replaceParametersFromMap(Map aParamMap);
only if set modified values will be written
public String getConfigurationParmeterValue(String aKey);
only if set modified values will be written
public void setModified();
only if set modified values will be written
public void setUnModified();
only if set modified values will be written
public String toString(); // Overrides java.lang.Object
// Protected Instance Methods protected abstract void initializeFileValues();
has to be implemented by FileFields
protected abstract void commitValues();
has to be implemented by FileFields
protected String readValue(int aLineNumber, int aBeginColumnNumber, int
aEndColumnNumber);
protected void writeValue(String aValue, int aLineNumber, int
aBeginColumnNumber, int aEndColumnNumber);
}