- istream
- the input stream to read the data from.
Type Reason Java.Util.Prefs.InvalidPreferencesFormatException if the data read from the given input stream is not from a valid XML document. Java.IO.IOException if an error occurs while importing.
Imports all the preferences from an XML document using the given input stream.
This XML document uses the UTF-8 encoding and must be written according to the DTD in its DOCTYPE declaration, which must be the following:
xml Example
<!DOCTYPE preferences SYSTEM "http://java.sun.com/dtd/preferences.dtd">