Use XML! You will transfer variables. Even your coffee maker can use them.
A SAX parser is built in Java.
Here is the Java snippet for writing an XML file:
public void saveToXML(String xml) { Document dom; Element e = null;
Here is a Java snippet for reading an XML file:
public boolean loadFromXML(String xml) { Document dom;
Costis aivalis
source share