org.apache.tools.ant.util
public class ConcatFileInputStream extends InputStream
InputStream
that will
concatenate the contents of an array of files.
Constructor Summary | |
---|---|
ConcatFileInputStream(File[] file)
Construct a new ConcatFileInputStream
with the specified File[] . |
Method Summary | |
---|---|
void | close()
Close the stream. |
void | log(String message, int loglevel)
Log a message with the specified logging level. |
int | read()
Read a byte. |
void | setManagingComponent(ProjectComponent pc)
Set a managing Task for
this ConcatFileInputStream . |
void | setManagingTask(Task task)
Set a managing Task for
this ConcatFileInputStream . |
ConcatFileInputStream
with the specified File[]
.Parameters: file File[]
.
Throws: IOException if I/O errors occur.
Throws: IOException if there is an error.
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.
Task
for
this ConcatFileInputStream
.Parameters: pc the managing Task
.
Task
for
this ConcatFileInputStream
.Parameters: task the managing Task
.