Class sun.audio.AudioStream
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.audio.AudioStream

java.lang.Object
   |
   +----java.io.InputStream
           |
           +----java.io.FilterInputStream
                   |
                   +----sun.audio.AudioStream

public class AudioStream
extends FilterInputStream
Convert an InputStream to an AudioStream.
Version:
1.10, 08/22/95

Constructor Index

 o AudioStream(InputStream)

Method Index

 o getData()
Get the data.
 o getLength()
 o read(byte[], int, int)
A blocking read.

Constructors

 o AudioStream
  public AudioStream(InputStream in) throws IOException

Methods

 o read
  public int read(byte buf[],
                  int pos,
                  int len) throws IOException
A blocking read.
Overrides:
read in class FilterInputStream
 o getData
  public AudioData getData() throws IOException
Get the data.
 o getLength
  public int getLength()

All Packages  Class Hierarchy  This Package  Previous  Next  Index