public class DemuxInputStream
extends java.io.InputStream
| Constructor and Description | 
|---|
| DemuxInputStream(Project project)Create a DemuxInputStream for the given project | 
| Modifier and Type | Method and Description | 
|---|---|
| int | read()Read a byte from the project's demuxed input. | 
| int | read(byte[] buffer,
    int offset,
    int length)Read bytes from the project's demuxed input. | 
public DemuxInputStream(Project project)
project - the project instancepublic int read()
         throws java.io.IOException
read in class java.io.InputStreamjava.io.IOException - on errorpublic int read(byte[] buffer,
       int offset,
       int length)
         throws java.io.IOException
read in class java.io.InputStreambuffer - an array of bytes to read intooffset - the offset in the array of byteslength - the number of bytes in the arrayjava.io.IOException - on error