org.apache.tools.ant.util

Class ConcatFileInputStream


public class ConcatFileInputStream
extends InputStream

Special 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()
void
log(String message, int loglevel)
Log a message with the specified logging level.
int
read()
void
setManagingComponent(ProjectComponent pc)
Set a managing Task for this ConcatFileInputStream.
void
setManagingTask(Task task)
Set a managing Task for this ConcatFileInputStream.

Constructor Details

ConcatFileInputStream

public ConcatFileInputStream(File[] file)
            throws IOException
Construct a new ConcatFileInputStream with the specified File[].

Parameters:
file - File[].

Method Details

close

public void close()
            throws IOException


log

public void log(String message,
                int loglevel)
Log a message with the specified logging level.

Parameters:
message - the String message.
loglevel - the int logging level.


read

public int read()
            throws IOException


setManagingComponent

public void setManagingComponent(ProjectComponent pc)
Set a managing Task for this ConcatFileInputStream.

Parameters:


setManagingTask

public void setManagingTask(Task task)
Set a managing Task for this ConcatFileInputStream.

Parameters:
task - the managing Task.


Copyright B) 2000-2005 Apache Software Foundation. All Rights Reserved.