net.luniks.linux.jv4linfo
Class V4LInfo

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

public class V4LInfo
extends java.lang.Object

Class to hold information about a v4l device

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

Field Summary
private  VideoAudio[] audios
           
private  VideoCapability cap
           
private  VideoChannel[] chans
           
private  java.lang.String device
           
private  VideoTuner[] tuners
           
 
Constructor Summary
V4LInfo(java.lang.String device, VideoCapability cap, VideoChannel[] chans, VideoTuner[] tuners, VideoAudio[] audios)
           
 
Method Summary
 VideoAudio[] getVideoAudios()
          Returns an array of VideoAudio instances, each of them holding information about an audio input of the queried device.
 VideoCapability getVideoCapability()
          Returns an instance of VideoCapability holding information about the capabilities of the queried device.
 VideoChannel[] getVideoChannels()
          Returns an array of VideoChannel instances, each of them holding information about a channel (input) of the queried device.
 VideoTuner[] getVideoTuners()
          Returns an array of VideoTuner 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 VideoCapability cap

chans

private VideoChannel[] chans

tuners

private VideoTuner[] tuners

audios

private VideoAudio[] audios
Constructor Detail

V4LInfo

public V4LInfo(java.lang.String device,
               VideoCapability cap,
               VideoChannel[] chans,
               VideoTuner[] tuners,
               VideoAudio[] audios)
Method Detail

getVideoCapability

public VideoCapability getVideoCapability()
Returns an instance of VideoCapability holding information about the capabilities of the queried device.

Returns:
the capabilities

getVideoChannels

public VideoChannel[] getVideoChannels()
Returns an array of VideoChannel instances, each of them holding information about a channel (input) of the queried device.

Returns:
the channels

getVideoTuners

public VideoTuner[] getVideoTuners()
Returns an array of VideoTuner instances, each of them holding information about a tuner of the queried device. NOTE: Currently, this method returns only the first tuner even if there are more than one.

Returns:
the tuners

getVideoAudios

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

Returns:
the audios

toString

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



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