JGAP

org.jgap.data.config
Class ConfigWriter

java.lang.Object
  extended by org.jgap.data.config.ConfigWriter

public final class ConfigWriter
extends java.lang.Object

This class is a Singleton that generates a properties file from classes implementing IConfigInfo.

Since:
2.3

Method Summary
static ConfigWriter getInstance()
          Method to create and access the Singleton ConfigWriter instance.
 void write(IConfigInfo a_cInfo)
          Persist the configuration information as selected by the user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ConfigWriter getInstance()
Method to create and access the Singleton ConfigWriter instance.

Returns:
a ConfigWriter Singleton instance.
Since:
2.3

write

public void write(IConfigInfo a_cInfo)
Persist the configuration information as selected by the user.

Parameters:
a_cInfo - configuration Information to persist
Since:
2.3

JGAP