| |
|
| java.lang.Object java.io.InputStream org.apache.tools.ant.util.ConcatFileInputStream
ConcatFileInputStream | public class ConcatFileInputStream extends InputStream (Code) | | Special InputStream that will
concatenate the contents of an array of files.
|
Constructor Summary | |
public | ConcatFileInputStream(File[] file) Construct a new ConcatFileInputStream
with the specified File[] . |
Method Summary | |
public void | close() Close the stream. | public void | log(String message, int loglevel) Log a message with the specified logging level. | public int | read() Read a byte. | public void | setManagingComponent(ProjectComponent pc) Set a managing Task for
this ConcatFileInputStream . | public void | setManagingTask(Task task) Set a managing Task for
this ConcatFileInputStream . |
ConcatFileInputStream | public ConcatFileInputStream(File[] file) throws IOException(Code) | | Construct a new ConcatFileInputStream
with the specified File[] .
Parameters: file - File[] . throws: IOException - if I/O errors occur. |
log | public void log(String message, int loglevel)(Code) | | Log a message with the specified logging level.
Parameters: message - the String message. Parameters: loglevel - the int logging level. |
read | public int read() throws IOException(Code) | | Read a byte.
the byte (0 - 255) or -1 if this is the end of the stream. throws: IOException - if there is an error. |
setManagingComponent | public void setManagingComponent(ProjectComponent pc)(Code) | | Set a managing Task for
this ConcatFileInputStream .
Parameters: pc - the managing Task . |
setManagingTask | public void setManagingTask(Task task)(Code) | | Set a managing Task for
this ConcatFileInputStream .
Parameters: task - the managing Task . |
|
|
|