video.jmf
Class DataSource
java.lang.Object
   javax.media.protocol.DataSource
javax.media.protocol.DataSource
       javax.media.protocol.PushBufferDataSource
javax.media.protocol.PushBufferDataSource
           video.jmf.DataSource
video.jmf.DataSource
- All Implemented Interfaces: 
- javax.media.Controls, javax.media.Duration
- public class DataSource 
- extends javax.media.protocol.PushBufferDataSource
This DataSource captures live frames from the screen. You can specify
 the location, size and frame rate in the URL string as follows:
 screen://x,y,width,height/framespersecond Eg: screen://20,40,160,120/12.5
 Note: Requires JDK 1.3+ to compile and run
 
| Fields inherited from interface javax.media.Duration | 
| DURATION_UNBOUNDED, DURATION_UNKNOWN | 
 
 
 
| Methods inherited from class javax.media.protocol.DataSource | 
| getLocator, setLocator | 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
DataSource
public DataSource()
getContentType
public java.lang.String getContentType()
- 
- Specified by:
- getContentTypein class- javax.media.protocol.DataSource
 
- 
 
connect
public void connect()
             throws java.io.IOException
- 
- Specified by:
- connectin class- javax.media.protocol.DataSource
 
- 
- Throws:
- java.io.IOException
 
disconnect
public void disconnect()
- 
- Specified by:
- disconnectin class- javax.media.protocol.DataSource
 
- 
 
start
public void start()
           throws java.io.IOException
- 
- Specified by:
- startin class- javax.media.protocol.DataSource
 
- 
- Throws:
- java.io.IOException
 
stop
public void stop()
          throws java.io.IOException
- 
- Specified by:
- stopin class- javax.media.protocol.DataSource
 
- 
- Throws:
- java.io.IOException
 
getControls
public java.lang.Object[] getControls()
- 
- Specified by:
- getControlsin interface- javax.media.Controls
- Specified by:
- getControlsin class- javax.media.protocol.DataSource
 
- 
 
getControl
public java.lang.Object getControl(java.lang.String controlType)
- 
- Specified by:
- getControlin interface- javax.media.Controls
- Specified by:
- getControlin class- javax.media.protocol.DataSource
 
- 
 
getDuration
public javax.media.Time getDuration()
- 
- Specified by:
- getDurationin interface- javax.media.Duration
- Specified by:
- getDurationin class- javax.media.protocol.DataSource
 
- 
 
getStreams
public javax.media.protocol.PushBufferStream[] getStreams()
- 
- Specified by:
- getStreamsin class- javax.media.protocol.PushBufferDataSource
 
-