use of com.vmware.vim25.VirtualFloppyImageBackingInfo in project photon-model by vmware.
the class ClientUtils method insertFloppy.
/**
* 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);
}
Aggregations