net.luniks.linux.jv4linfo
Class V4L2Info

java.lang.Object
  extended bynet.luniks.linux.jv4linfo.V4L2Info

public class V4L2Info
extends java.lang.Object

Class to hold information about a v4l2 device

Author:
Torsten Römer, www.luniks.net

Field Summary
private  V4L2Capability cap
           
private  java.lang.String device
           
private  V4L2Input[] inputs
           
private  V4L2Tuner[] tuners
           
 
Constructor Summary
V4L2Info(java.lang.String device, V4L2Capability cap, V4L2Input[] inputs, V4L2Standard[] stds, V4L2Tuner[] tuners)
           
 
Method Summary
 V4L2Capability getCapability()
          Returns an instance of V4L2Capability holding information about the capabilities of the queried device.
 V4L2Input[] getInputs()
          Returns an array of V4L2Input instances, each of them holding information about an input of the queried device.
 V4L2Tuner[] getTuners()
          Returns an array of V4L2Tuner instances, each of them holding information about a tuner of the queried device.
 java.lang.String toString()
          String representation of all the info
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

device

private java.lang.String device

cap

private V4L2Capability cap

inputs

private V4L2Input[] inputs

tuners

private V4L2Tuner[] tuners
Constructor Detail

V4L2Info

public V4L2Info(java.lang.String device,
                V4L2Capability cap,
                V4L2Input[] inputs,
                V4L2Standard[] stds,
                V4L2Tuner[] tuners)
Method Detail

getCapability

public V4L2Capability getCapability()
Returns an instance of V4L2Capability holding information about the capabilities of the queried device.

Returns:
the capabilities

getInputs

public V4L2Input[] getInputs()
Returns an array of V4L2Input instances, each of them holding information about an input of the queried device.

Returns:
the inputs

getTuners

public V4L2Tuner[] getTuners()
Returns an array of V4L2Tuner instances, each of them holding information about a tuner of the queried device.

Returns:
the tuners

toString

public java.lang.String toString()
String representation of all the info



Copyright © 2004 Torsten Römer, dode@luniks.net