net.sf.fmj.media
Class CloneableCaptureDevicePullBufferDataSource

java.lang.Object
  extended by javax.media.protocol.DataSource
      extended by javax.media.protocol.PullBufferDataSource
          extended by net.sf.fmj.media.CloneablePullBufferDataSource
              extended by net.sf.fmj.media.CloneableCaptureDevicePullBufferDataSource
All Implemented Interfaces:
Controls, Duration, CaptureDevice, SourceCloneable

public class CloneableCaptureDevicePullBufferDataSource
extends CloneablePullBufferDataSource
implements CaptureDevice

Cloneable PullBufferDataSource that also implements CaptureDevice. Note: created clones do not implement CaptureDevice. This is consistent with JMF.

Author:
Ken Larson

Field Summary
 
Fields inherited from interface javax.media.Duration
DURATION_UNBOUNDED, DURATION_UNKNOWN
 
Constructor Summary
CloneableCaptureDevicePullBufferDataSource(PullBufferDataSource source)
           
 
Method Summary
 CaptureDeviceInfo getCaptureDeviceInfo()
           
 FormatControl[] getFormatControls()
           
 
Methods inherited from class net.sf.fmj.media.CloneablePullBufferDataSource
connect, createClone, disconnect, getContentType, getControl, getControls, getDuration, getStreams, start, stop
 
Methods inherited from class javax.media.protocol.DataSource
getLocator, initCheck, setLocator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.media.protocol.CaptureDevice
connect, disconnect, start, stop
 

Constructor Detail

CloneableCaptureDevicePullBufferDataSource

public CloneableCaptureDevicePullBufferDataSource(PullBufferDataSource source)
Method Detail

getCaptureDeviceInfo

public CaptureDeviceInfo getCaptureDeviceInfo()
Specified by:
getCaptureDeviceInfo in interface CaptureDevice

getFormatControls

public FormatControl[] getFormatControls()
Specified by:
getFormatControls in interface CaptureDevice