org.gamenet.util
Class WavInputStreamDataSource
java.lang.Object
javax.media.protocol.DataSource
javax.media.protocol.PullDataSource
org.gamenet.util.WavInputStreamDataSource
- All Implemented Interfaces:
- Controls, Controls, Duration
- public class WavInputStreamDataSource
- extends PullDataSource
Fields inherited from class javax.media.protocol.DataSource |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.media.Duration |
|
waveContentDescriptor
private static final ContentDescriptor waveContentDescriptor
inputStream
private InputStream inputStream
WavInputStreamDataSource
public WavInputStreamDataSource()
WavInputStreamDataSource
public WavInputStreamDataSource(InputStream anInputStream)
setInputStream
public void setInputStream(InputStream anInputStream)
getStreams
public PullSourceStream[] getStreams()
connect
public void connect()
throws IOException
- Throws:
IOException
disconnect
public void disconnect()
getContentType
public String getContentType()
getControl
public Object getControl(String aControlName)
getControls
public Object[] getControls()
getDuration
public Time getDuration()
start
public void start()
throws IOException
- Throws:
IOException
stop
public void stop()
throws IOException
- Throws:
IOException