|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.media.CaptureDeviceInfo
A CaptureDeviceInfo
object contains information about a particular capture device.
Field Summary | |
protected Format[] |
formats
The output formats supported by a device. |
protected MediaLocator |
locator
A MediaLocator that identifies a device. |
protected java.lang.String |
name
A String that contains the name of a device. |
Constructor Summary | |
CaptureDeviceInfo()
Constructs a CaptureDeviceInfo object with null attributes. |
|
CaptureDeviceInfo(java.lang.String name,
MediaLocator locator,
Format[] formats)
Constructs a CaptureDeviceInfo object with the specified name, media
locator, and array of Format objects. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
|
Format[] |
getFormats()
Gets a list of the output formats supported by this device. |
MediaLocator |
getLocator()
Gets the MediaLocator needed to create a DataSource
for this device through the Manager . |
java.lang.String |
getName()
Gets the name of this device. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.lang.String name
String
that contains the name of a device.
protected MediaLocator locator
MediaLocator
that identifies a device.
protected Format[] formats
Constructor Detail |
public CaptureDeviceInfo(java.lang.String name, MediaLocator locator, Format[] formats)
CaptureDeviceInfo
object with the specified name, media
locator, and array of Format
objects.
name
- A String
that contains the name of the device.locator
- The MediaLocator
that uniquely specifies the device.formats
- An array of the output formats supported by the device.public CaptureDeviceInfo()
CaptureDeviceInfo
object with null attributes.
Method Detail |
public Format[] getFormats()
Format
array that contains the output formats supported by this device.public MediaLocator getLocator()
MediaLocator
needed to create a DataSource
for this device through the Manager
. The MediaLocator
is unique--no two devices can use the same locator.
MediaLocator
that uniquely specifies this device.public java.lang.String getName()
String
that describes this device.public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |