Package org.apache.tools.ant
Class DemuxInputStream
java.lang.Object
java.io.InputStream
org.apache.tools.ant.DemuxInputStream
- All Implemented Interfaces:
- Closeable,- AutoCloseable
Passes input requests to the project object for demultiplexing into
 individual tasks and threads.
- Since:
- Ant 1.6
- 
Constructor SummaryConstructorsConstructorDescriptionDemuxInputStream(Project project) Create a DemuxInputStream for the given project
- 
Method SummaryMethods inherited from class java.io.InputStreamavailable, close, mark, markSupported, nullInputStream, read, readAllBytes, readNBytes, readNBytes, reset, skip, skipNBytes, transferTo
- 
Constructor Details- 
DemuxInputStreamCreate a DemuxInputStream for the given project- Parameters:
- project- the project instance
 
 
- 
- 
Method Details- 
readRead a byte from the project's demultiplexed input.- Specified by:
- readin class- InputStream
- Returns:
- the next byte
- Throws:
- IOException- on error
 
- 
readRead bytes from the project's demultiplexed input.- Overrides:
- readin class- InputStream
- 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
 
 
-