示例#1
0
 public org.virtualbox_4_3.IProgress importMachines(
     List<org.virtualbox_4_3.ImportOptions> options) {
   try {
     org.mozilla.interfaces.IProgress retVal;
     retVal =
         getTypedWrapped()
             .importMachines(
                 options != null ? options.size() : 0,
                 Helper.unwrapEnum(org.virtualbox_4_3.ImportOptions.class, options));
     return (retVal != null) ? new org.virtualbox_4_3.IProgress(retVal) : null;
   } catch (org.mozilla.xpcom.XPCOMException e) {
     throw new VBoxException(e.getMessage(), e);
   }
 }
示例#2
0
 public org.virtualbox_4_3.IProgress write(
     String format, List<org.virtualbox_4_3.ExportOptions> options, String path) {
   try {
     org.mozilla.interfaces.IProgress retVal;
     retVal =
         getTypedWrapped()
             .write(
                 format,
                 options != null ? options.size() : 0,
                 Helper.unwrapEnum(org.virtualbox_4_3.ExportOptions.class, options),
                 path);
     return (retVal != null) ? new org.virtualbox_4_3.IProgress(retVal) : null;
   } catch (org.mozilla.xpcom.XPCOMException e) {
     throw new VBoxException(e.getMessage(), e);
   }
 }