Lucia (archive)
Usenet Archive
- Joined
- Aug 7, 2003
- Messages
- 12
- Reaction score
- 0
Hello,
I'd like store all constants in my java-Application in an XML-file. e.g. <constant> <name>con</name> <type>long</type> <value>10</value> </constant>
After starting the application, the java class should be able to create a variable with the name, the type and the value.
In this example, the java class should call the line at runtime:
long con = 10;
Has anyone an idea?
Thanks
Lucia
I'd like store all constants in my java-Application in an XML-file. e.g. <constant> <name>con</name> <type>long</type> <value>10</value> </constant>
After starting the application, the java class should be able to create a variable with the name, the type and the value.
In this example, the java class should call the line at runtime:
long con = 10;
Has anyone an idea?
Thanks
Lucia