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 booleanisSeekable()longlength()intread(byte[] b, int offs, int len)longseek(long to)longtell()booleanwillReadBlock()
-
-
-
Method Detail
-
read
public int read(byte[] b, int offs, int len) throws java.io.IOException
-
willReadBlock
public boolean willReadBlock()
- Specified by:
willReadBlockin interfaceSource
-
isSeekable
public boolean isSeekable()
- Specified by:
isSeekablein interfaceSource
-
-