javax.microedition.media.protocol
Class DataSource

java.lang.Object
  extended by javax.microedition.media.protocol.DataSource
All Implemented Interfaces:
Controllable


public abstract class DataSource
extends Object
implements Controllable


Constructor Summary
DataSource(String locator)
           
 
Method Summary
abstract  void connect()
           
abstract  void disconnect()
           
abstract  String getContentType()
           
 String getLocator()
           
abstract  SourceStream[] getStreams()
           
abstract  void start()
           
abstract  void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.microedition.media.Controllable
getControl, getControls
 

Constructor Detail

DataSource

public DataSource(String locator)
Method Detail

getLocator

public String getLocator()

getContentType

public abstract String getContentType()

connect

public abstract void connect()
                      throws IOException
Throws:
IOException

disconnect

public abstract void disconnect()

start

public abstract void start()
                    throws IOException
Throws:
IOException

stop

public abstract void stop()
                   throws IOException
Throws:
IOException

getStreams

public abstract SourceStream[] getStreams()