public static void write(File file,NSObject root) throws IOException {
  OutputStream out=new FileOutputStream(file);
  write(out,root);
  out.close();
}

public static void write ( File file , NSObject root ) throws IOException { OutputStream out = new FileOutputStream ( file ) ; write ( out , root ) ; out . close ( ) ; }
writes a binary plist file with the given object as the root .
