org.apache.tools.ant
public class DemuxInputStream extends InputStream
Since: Ant 1.6
| Constructor Summary | |
|---|---|
| DemuxInputStream(Project project)
Create a DemuxInputStream for the given project
| |
| Method Summary | |
|---|---|
| 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. |
Parameters: project the project instance
Returns: the next byte
Throws: IOException on error
Parameters: buffer an array of bytes to read into offset the offset in the array of bytes length the number of bytes in the array
Returns: the number of bytes read
Throws: IOException on error