Exemple #1
0
 public void interpret() {
   try {
     getTypedWrapped().interpret();
   } catch (org.mozilla.xpcom.XPCOMException e) {
     throw new VBoxException(e.getMessage(), e);
   }
 }
Exemple #2
0
 public List<String> getMachines() {
   try {
     String[] retVal = getTypedWrapped().getMachines(null);
     return Helper.wrap(retVal);
   } catch (org.mozilla.xpcom.XPCOMException e) {
     throw new VBoxException(e.getMessage(), e);
   }
 }
Exemple #3
0
 public String getPath() {
   try {
     String retVal = getTypedWrapped().getPath();
     return retVal;
   } catch (org.mozilla.xpcom.XPCOMException e) {
     throw new VBoxException(e.getMessage(), e);
   }
 }
Exemple #4
0
 public org.virtualbox_4_3.IProgress read(String file) {
   try {
     org.mozilla.interfaces.IProgress retVal;
     retVal = getTypedWrapped().read(file);
     return (retVal != null) ? new org.virtualbox_4_3.IProgress(retVal) : null;
   } catch (org.mozilla.xpcom.XPCOMException e) {
     throw new VBoxException(e.getMessage(), e);
   }
 }
Exemple #5
0
 public org.virtualbox_4_3.IVFSExplorer createVFSExplorer(String URI) {
   try {
     org.mozilla.interfaces.IVFSExplorer retVal;
     retVal = getTypedWrapped().createVFSExplorer(URI);
     return (retVal != null) ? new org.virtualbox_4_3.IVFSExplorer(retVal) : null;
   } catch (org.mozilla.xpcom.XPCOMException e) {
     throw new VBoxException(e.getMessage(), e);
   }
 }
Exemple #6
0
 public List<org.virtualbox_4_3.IVirtualSystemDescription> getVirtualSystemDescriptions() {
   try {
     org.mozilla.interfaces.IVirtualSystemDescription[] retVal =
         getTypedWrapped().getVirtualSystemDescriptions(null);
     return Helper.wrap2(
         org.virtualbox_4_3.IVirtualSystemDescription.class,
         org.mozilla.interfaces.IVirtualSystemDescription.class,
         retVal);
   } catch (org.mozilla.xpcom.XPCOMException e) {
     throw new VBoxException(e.getMessage(), e);
   }
 }
Exemple #7
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);
   }
 }
Exemple #8
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);
   }
 }