Source

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

    public static final long LENGTH_UNKNOWN

See Also:
  Constant Field Values

Method Detail

### read

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

  Throws:
    `java.io.IOException`

### willReadBlock

    public boolean willReadBlock()

### isSeekable

    public boolean isSeekable()

### length

    public long length()

### tell

    public long tell()

### seek

    public long seek(long pos)

Overview | Package | Class | Tree | Deprecated | Index | Help

PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

JavaZOOM 1999-2005