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()
           
abstract  Control getControl(String arg1)
           
abstract  Control[] getControls()
           
 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
 

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()

getControls

public abstract Control[] getControls()
Specified by:
getControls in interface Controllable

getControl

public abstract Control getControl(String arg1)
Specified by:
getControl in interface Controllable


Copyright © 2006-2007 Jayway AB. All Rights Reserved.