package javax.microedition.media.protocol;

import java.io.IOException;
import javax.microedition.media.Controllable;

public interface SourceStream extends Controllable
{
 public int NOT_SEEKABLE = 0;
 public int SEEKABLE_TO_START = 1;
 public int RANDOM_ACCESSIBLE = 2;

 public ContentDescriptor getContentDescriptor();
 
 public long getContentLength();
 
 public int read(byte[], int, int) throws IOException;
 
 public int getTransferSize();
 
 public long seek(long) throws IOException;
 
 public long tell();
 
 public int getSeekType();
 
}