|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.virtualbox_6_1.IUnknown
org.virtualbox_6_1.IMediumFormat
public class IMediumFormat
The IMediumFormat interface represents a medium format.
Each medium format has an associated backend which is used to handle
media stored in this format. This interface provides information
about the properties of the associated backend.
Each medium format is identified by a string represented by thegetId()
attribute. This string is used in calls likeIVirtualBox.createMedium(String,String,org.virtualbox_6_1.AccessMode,org.virtualbox_6_1.DeviceType)
to specify the desired
format.
The list of all supported medium formats can be obtained usingISystemProperties.getMediumFormats()
.
Interface ID: {11BE93C7-A862-4DC9-8C89-BF4BA74A886A}
Field Summary |
---|
Fields inherited from class org.virtualbox_6_1.IUnknown |
---|
obj, objMgr, port |
Constructor Summary | |
---|---|
IMediumFormat(java.lang.String wrapped,
org.virtualbox_6_1.ObjectRefManager objMgr,
org.virtualbox_6_1.jaxws.VboxPortType port)
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.virtualbox_6_1.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 IMediumFormat(java.lang.String wrapped, org.virtualbox_6_1.ObjectRefManager objMgr, org.virtualbox_6_1.jaxws.VboxPortType port)
Method Detail |
---|
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_1.AccessMode,org.virtualbox_6_1.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.
names
- Array of property names.descriptions
- Array of property descriptions.types
- Array of property types.flags
- Array of property flags.defaults
- Array of default property values.DataType
,
DataFlags
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |