| java.lang.Object java.io.InputStream org.apache.tools.ant.DemuxInputStream
DemuxInputStream | public class DemuxInputStream extends InputStream (Code) | | Passes input requests to the project object for demuxing into
individual tasks and threads.
since: Ant 1.6 |
Method Summary | |
public int | read() Read a byte from the project's demuxed input. | public int | read(byte[] buffer, int offset, int length) Read bytes from the project's demuxed input. |
DemuxInputStream | public DemuxInputStream(Project project)(Code) | | Create a DemuxInputStream for the given project
Parameters: project - the project instance |
read | public int read(byte[] buffer, int offset, int length) throws IOException(Code) | | Read bytes from the project's demuxed input.
Parameters: buffer - an array of bytes to read into Parameters: offset - the offset in the array of bytes Parameters: length - the number of bytes in the array the number of bytes read throws: IOException - on error |
|
|