Package org.virtualbox_4_0

Examples of org.virtualbox_4_0.IAppliance.interpret()


  private IMachine importAppliance(IVirtualBox vbox, ISession s) {
    IAppliance app = vbox.createAppliance();
    IProgress p = app.read(appliance.getAbsolutePath());
    p.waitForCompletion(-1);
    app.interpret();
    Set<String> oids = this.getMachineIds(vbox);
    p = app.importMachines();
    p.waitForCompletion(-1);
    IMachine machine = null;
    for (IMachine m : vbox.getMachines()) {
View Full Code Here


    IProgress readProgress = appliance.read(importFile.toAbsolutePath().toString());
    while (!readProgress.getCompleted()) {
      readProgress.waitForCompletion(1000);
    }

    appliance.interpret();

        logWarnings(appliance);

    // keep NAT MAC addresses
    List<ImportOptions> options = new LinkedList<>();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.