javazoom.jl.decoder
Interface Source

All Known Implementing Classes:
InputStreamSource

public interface Source

Work in progress. Class to describe a seekable data source.


Field Summary
static long LENGTH_UNKNOWN
           
 
Method Summary
 boolean isSeekable()
           
 long length()
           
 int read(byte[] b, int offs, int len)
           
 long seek(long pos)
           
 long tell()
           
 boolean willReadBlock()
           
 

Field Detail

LENGTH_UNKNOWN

static final long LENGTH_UNKNOWN
See Also:
Constant Field Values
Method Detail

read

int read(byte[] b,
         int offs,
         int len)
         throws java.io.IOException
Throws:
java.io.IOException

willReadBlock

boolean willReadBlock()

isSeekable

boolean isSeekable()

length

long length()

tell

long tell()

seek

long seek(long pos)


JavaZOOM 1999-2008