|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcz.zcu.fav.kiv.editor.config.ConfigController
public class ConfigController
The ConfigController class contains methods for reading configuration files.
| Constructor Summary | |
|---|---|
ConfigController()
Initializes a newly created ConfigController. |
|
| Method Summary | |
|---|---|
CommonTypes |
getCommonTypes()
|
ConfigData |
getData()
|
java.util.Map<java.lang.String,Figure> |
getFigureList()
|
void |
readAttributes()
Reads the configuration file with attributes - attributes.xml. |
void |
readConfig()
Reads the configuration file with layout of parameters and attribute-sets - config.xml. |
void |
readFigures(java.util.Map<java.lang.String,Parameter> parsedParameterList)
Reads the configuration file with graphics figures - graphics.xml. |
void |
readTypes()
Reads the configuration file with types - types.xml. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigController()
ConfigController. Simultaneously initializes new
ConfigParser and ConfigData.
| Method Detail |
|---|
public void readFigures(java.util.Map<java.lang.String,Parameter> parsedParameterList)
throws FileNotFoundException,
ConfigException
FileNotFoundException - if the configuration file or its XML schema doesn't exist.
ConfigException - if the configuration file or its XML schema isn't well-formed.
public void readAttributes()
throws ConfigException,
FileNotFoundException
ConfigException - if the configuration file or its XML schema isn't well-formed.
FileNotFoundException - if the configuration file or its XML schema doesn't exist.
public void readConfig()
throws ConfigException,
FileNotFoundException
ConfigException - if the configuration file or its XML schema isn't well-formed.
FileNotFoundException - if the configuration file or its XML schema doesn't exist.
public void readTypes()
throws ConfigException,
FileNotFoundException
ConfigException - if the configuration file or its XML schema isn't well-formed.
FileNotFoundException - if the configuration file or its XML schema doesn't exist.public ConfigData getData()
public CommonTypes getCommonTypes()
public java.util.Map<java.lang.String,Figure> getFigureList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||