org.jgap.data.config
Class MetaConfig
- java.lang.Object
-
- org.jgap.data.config.MetaConfig
-
public class MetaConfig extends java.lang.ObjectThis class provides an interface to the configuration information to create a JGAP Configuration GUI.- Since:
- 2.4
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.ListgetConfigProperty(java.lang.String className)Read the meta-config file and load it in memory.static MetaConfiggetInstance()java.io.ReadergetReader(java.lang.String a_filename)Returns a reader to a file
-
-
-
Method Detail
-
getInstance
public static MetaConfig getInstance() throws MetaConfigException, java.io.IOException
- Throws:
MetaConfigExceptionjava.io.IOException
-
getConfigProperty
public java.util.List getConfigProperty(java.lang.String className)
Read the meta-config file and load it in memory.- Parameters:
className- the name of the class of which the properties are required- Returns:
- the list of properties for this class, if class is registered, otherwise null
- Since:
- 2.4
-
getReader
public java.io.Reader getReader(java.lang.String a_filename) throws java.io.IOExceptionReturns a reader to a file- Parameters:
a_filename- the file to retrieve a reader for- Returns:
- the Reader
- Throws:
java.io.IOException- Since:
- 3.0
-
-
DMelt 3.0 © DataMelt by jWork.ORG