コード例 #1
0
ファイル: NSArray.java プロジェクト: nagyistoce/robovm
 @Override
 protected void afterMarshaled() {
   if (adapter == null) {
     adapter = createAdapter();
   }
   super.afterMarshaled();
 }
コード例 #2
0
 /**
  * Saves a property list with the given object as root into a XML file
  *
  * @param root the root object
  * @param out the output file
  * @throws java.lang.Exception
  */
 public static void saveAsXML(NSObject root, File out) throws Exception {
   FileWriter fw = new FileWriter(out);
   fw.write(root.toXMLPropertyList());
   fw.close();
 }