question: public static void saveAsXML ( NSObject root , OutputStream out ) throws IOException { OutputStreamWriter w = new OutputStreamWriter ( out , "UTF-8" ) ; w . write ( root . toXMLPropertyList ( ) ) ; w . close ( ) ; }
target:  Saves a property list with the given object as root in XML format into an output stream.