Package javazoom.jl.decoder
Class InputStreamSource
- java.lang.Object
-
- javazoom.jl.decoder.InputStreamSource
-
-
Field Summary
-
Fields inherited from interface javazoom.jl.decoder.Source
LENGTH_UNKNOWN
-
-
Constructor Summary
Constructors Constructor Description InputStreamSource(java.io.InputStream in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isSeekable()
long
length()
int
read(byte[] b, int offs, int len)
long
seek(long to)
long
tell()
boolean
willReadBlock()
-
-
-
Method Detail
-
read
public int read(byte[] b, int offs, int len) throws java.io.IOException
-
willReadBlock
public boolean willReadBlock()
- Specified by:
willReadBlock
in interfaceSource
-
isSeekable
public boolean isSeekable()
- Specified by:
isSeekable
in interfaceSource
-
-