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[] bytes_1, int int_1, int int_2) throws IOException;
 
 public int getTransferSize();
 
 public long seek(long long_1) throws IOException;
 
 public long tell();
 
 public int getSeekType();
 
}