I know how to write text to a file and store it in Java, but I was wondering if there is a way of storing lots of variables that can be retrieved from the file at a later date, and put back into the Java application as variables.
I would be storing numbers and strings, but groups of them.
Thanks 🙂
Java can read properties files like it reads a map. This gives you an easy way of storing information using a key/value system.
Check out http://download.oracle.com/javase/6/docs/api/java/util/Properties.html