|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.virtualbox_7_0.IUnknown
org.virtualbox_7_0.IHostDrive
public class IHostDrive
The IHostDrive interface represents the drive of the physical machine.
It is not a complete medium description and, therefore, it is not IMedium
based. The interface is used to get information about a host drive and
its partitioning.
NOTE: The object operates in limited mode if the user cannot open the drive
and parse the partition table. In limited mode on thegetDrivePath()
andgetModel()
attributes can be accessed, the rest will fail with E_ACCESSDENIED.
Interface ID: {70E2E0C3-332C-4D72-B822-2DB16E2CB31B}
Field Summary |
---|
Fields inherited from class org.virtualbox_7_0.IUnknown |
---|
obj, objMgr, port |
Constructor Summary | |
---|---|
IHostDrive(java.lang.String wrapped,
org.virtualbox_7_0.ObjectRefManager objMgr,
org.virtualbox_7_0.jaxws.VboxPortType port)
|
Method Summary | |
---|---|
java.lang.String |
getDrivePath()
The path of the drive. |
java.lang.String |
getModel()
The model string of the drive if available. |
PartitioningType |
getPartitioningType()
The scheme of the partitions the disk has. |
java.util.List<IHostDrivePartition> |
getPartitions()
List of partitions available on the host drive. |
java.lang.Long |
getSectorSize()
The size of the sector in bytes. |
java.lang.Long |
getSize()
The size of the disk in bytes. |
java.lang.String |
getUuid()
The GUID of the disk. |
static IHostDrive |
queryInterface(IUnknown obj)
|
Methods inherited from class org.virtualbox_7_0.IUnknown |
---|
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IHostDrive(java.lang.String wrapped, org.virtualbox_7_0.ObjectRefManager objMgr, org.virtualbox_7_0.jaxws.VboxPortType port)
Method Detail |
---|
public java.lang.String getDrivePath()
public PartitioningType getPartitioningType()
public java.lang.String getUuid()
public java.lang.Long getSectorSize()
public java.lang.Long getSize()
public java.lang.String getModel()
public java.util.List<IHostDrivePartition> getPartitions()
public static IHostDrive queryInterface(IUnknown obj)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |