- ostream
- the output stream to write the XML-formatted data to.
Type Reason Java.IO.IOException if an error occurs while exporting. Java.Util.Prefs.BackingStoreException if the backing store is unavailable or causes an operation failure. Java.Lang.IllegalStateException if this node has been removed.
Exports all of the preferences of this node to a XML document using the given output stream.
This XML document uses the UTF-8 encoding and is written according to the DTD in its DOCTYPE declaration, which is the following:
xml Example
<!DOCTYPE preferences SYSTEM "http://java.sun.com/dtd/preferences.dtd">