Listing 2: The preference data for our sample program pkg.Test, exported in XML format.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE preferences SYSTEM 'http://java.sun.com/dtd/preferences.dtd'> <preferences EXTERNAL_XML_VERSION="1.0"> <root type="user"> <map /> <node name="pkg"> <map> <entry key="not" value="encrypted" /> </map> <node name="encrypted"> <map> <entry key="mjdajaddcioehjeljmahmpdbfhomifhp" value="hknhbmkdphkpbjipdijphpniboiecadn" /> </map> <node name="subnode"> <map> <entry key="eempdaneimckpiod" value="bkoaejfbcjpkckmflkijoomngbopblco" /> </map> </node> </node> <node name="subnode"> <map> <entry key="also not" value="encrypted" /> </map> </node> </node> </root> </preferences>