org.apache.tools.ant.util
public class ConcatResourceInputStream extends InputStream
InputStream that will
concatenate the contents of Resources from a single ResourceCollection.Since: Ant 1.7
| Constructor Summary | |
|---|---|
| ConcatResourceInputStream(ResourceCollection rc)
Construct a new ConcatResourceInputStream
for the specified ResourceCollection. | |
| Method Summary | |
|---|---|
| void | close()
Close the stream. |
| boolean | isIgnoreErrors()
Find out whether this ConcatResourceInputStream ignores errors. |
| void | log(String message, int loglevel)
Log a message with the specified logging level. |
| int | read()
Read a byte. |
| void | setIgnoreErrors(boolean b)
Set whether this ConcatResourceInputStream ignores errors. |
| void | setManagingComponent(ProjectComponent pc)
Set a managing ProjectComponent for
this ConcatResourceInputStream. |
Parameters: rc the ResourceCollection to combine.
Throws: IOException if there is an error.
Returns: boolean ignore-errors flag.
Parameters: message the String message. loglevel the int logging level.
Returns: the byte (0 - 255) or -1 if this is the end of the stream.
Throws: IOException if there is an error.
Parameters: b whether to ignore errors.
ProjectComponent for
this ConcatResourceInputStream.Parameters: pc the managing ProjectComponent.