Java 类com.vmware.vim25.VirtualFloppyImageBackingInfo 实例源码

项目:photon-model    文件:ClientUtils.java   
/**
 * Changes to backing of the floppy to an image-backed one.
 */
public static void insertFloppy(VirtualFloppy floppy, String imagePath) {
    VirtualFloppyImageBackingInfo backingInfo = new VirtualFloppyImageBackingInfo();
    backingInfo.setFileName(imagePath);
    floppy.setBacking(backingInfo);
}