
com.sun.xml.ws.commons.virtualbox.IHostFloppyDrive Maven / Gradle / Ivy
package com.sun.xml.ws.commons.virtualbox;
import javax.xml.ws.WebServiceException;
/**
* The IHostFloppyDrive interface represents the physical floppy drive
* hardware on the host. Used indirectly in {@link IHost#floppyDrives}.
*
*/
public class IHostFloppyDrive
extends VBoxObject
{
public IHostFloppyDrive(String _this, VboxPortType port) {
super(_this,port);
}
/**
* Returns the platform-specific device identifier.
* On DOS-like platforms, it is a drive name (e.g. A:).
* On Unix-like platforms, it is a device name (e.g. /dev/fd0).
*
*/
public String getName() {
try {
String retVal = port.iHostFloppyDriveGetName(_this);
return retVal;
} catch (com.sun.xml.ws.commons.virtualbox.InvalidObjectFaultMsg e) {
throw new WebServiceException(e);
} catch (com.sun.xml.ws.commons.virtualbox.RuntimeFaultMsg e) {
throw new WebServiceException(e);
}
}
/**
* Returns a human readable description for the drive. This
* description usually contains the product and vendor name. A
* @c null string is returned if the description is not available.
*
*/
public String getDescription() {
try {
String retVal = port.iHostFloppyDriveGetDescription(_this);
return retVal;
} catch (com.sun.xml.ws.commons.virtualbox.InvalidObjectFaultMsg e) {
throw new WebServiceException(e);
} catch (com.sun.xml.ws.commons.virtualbox.RuntimeFaultMsg e) {
throw new WebServiceException(e);
}
}
/**
* Returns the unique device identifier for the drive. This
* attribute is reserved for future use instead of {@link #name}. Currently it is not used and may return
* @c null on some platforms.
*
*/
public String getUdi() {
try {
String retVal = port.iHostFloppyDriveGetUdi(_this);
return retVal;
} catch (com.sun.xml.ws.commons.virtualbox.InvalidObjectFaultMsg e) {
throw new WebServiceException(e);
} catch (com.sun.xml.ws.commons.virtualbox.RuntimeFaultMsg e) {
throw new WebServiceException(e);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy