|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcz.zcu.fav.kiv.editor.template.TemplateController
public class TemplateController
The TemplateController
class contains method for reading templates.
Method Summary | |
---|---|
static TemplateController |
getInstance()
Static methods return instance of TemplateController . |
void |
readTemplate(ConfigData configData,
java.lang.String templateFile)
Reads a template defined by its path templateFile . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TemplateController getInstance()
TemplateController
. If the
instance
is null, initializes a new one.
TemplateController
.public void readTemplate(ConfigData configData, java.lang.String templateFile) throws ConfigException, FileNotFoundException
templateFile
.
configData
- the data containing editor data structure.templateFile
- the path to the file with template.
ConfigException
- if the template or its XML schema isn't well-formed.
FileNotFoundException
- if the template or its XML schema doesn't exist.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |