public class IMediumFormat extends IUnknown
getId()
attribute. This string is used in calls likeIVirtualBox.createMedium(String,String,org.virtualbox_6_0.AccessMode,org.virtualbox_6_0.DeviceType)
to specify the desired
format.
The list of all supported medium formats can be obtained usingISystemProperties.getMediumFormats()
.Constructor and Description |
---|
IMediumFormat(java.lang.String wrapped,
org.virtualbox_6_0.ObjectRefManager objMgr,
org.virtualbox_6_0.jaxws.VboxPortType port) |
Modifier and Type | Method and Description |
---|---|
void |
describeFileExtensions(Holder<java.util.List<java.lang.String>> extensions,
Holder<java.util.List<DeviceType>> types)
Returns two arrays describing the supported file extensions.
|
void |
describeProperties(Holder<java.util.List<java.lang.String>> names,
Holder<java.util.List<java.lang.String>> descriptions,
Holder<java.util.List<DataType>> types,
Holder<java.util.List<java.lang.Long>> flags,
Holder<java.util.List<java.lang.String>> defaults)
Returns several arrays describing the properties supported by this
format.
|
java.util.List<MediumFormatCapabilities> |
getCapabilities()
Capabilities of the format as an array of the flags.
|
java.lang.String |
getId()
Identifier of this format.
|
java.lang.String |
getName()
Human readable description of this format.
|
static IMediumFormat |
queryInterface(IUnknown obj) |
getObjMgr, getRemoteWSPort, getWrapped, releaseRemote
public IMediumFormat(java.lang.String wrapped, org.virtualbox_6_0.ObjectRefManager objMgr, org.virtualbox_6_0.jaxws.VboxPortType port)
public java.lang.String getId()
"VDI" "vdi" "VdI"refer to the same medium format. This string is used in methods of other interfaces where it is necessary to specify a medium format, such as
IVirtualBox.createMedium(String,String,org.virtualbox_6_0.AccessMode,org.virtualbox_6_0.DeviceType)
.public java.lang.String getName()
public java.util.List<MediumFormatCapabilities> getCapabilities()
MediumFormatCapabilities
.public static IMediumFormat queryInterface(IUnknown obj)
public void describeFileExtensions(Holder<java.util.List<java.lang.String>> extensions, Holder<java.util.List<DeviceType>> types)
extensions
- The array of supported extensions.types
- The array which indicates the device type for every given extension.getCapabilities()
public void describeProperties(Holder<java.util.List<java.lang.String>> names, Holder<java.util.List<java.lang.String>> descriptions, Holder<java.util.List<DataType>> types, Holder<java.util.List<java.lang.Long>> flags, Holder<java.util.List<java.lang.String>> defaults)
MediumFormatCapabilities.Properties
flag is set.
All arguments must be non- null.