javazoom.jl.decoder

Interface Source

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 Details

LENGTH_UNKNOWN

public static final long LENGTH_UNKNOWN
Field Value:
-1L

Method Details

isSeekable

public boolean isSeekable()

length

public long length()

read

public int read(byte[] b,
                int offs,
                int len)
            throws IOException

seek

public long seek(long pos)

tell

public long tell()

willReadBlock

public boolean willReadBlock()

JavaZOOM 1999-2005