public class ConcatFileInputStream
extends java.io.InputStream
InputStream
that will
concatenate the contents of an array of files.Constructor and Description |
---|
ConcatFileInputStream(java.io.File[] file)
Construct a new
ConcatFileInputStream
with the specified File[] . |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the stream.
|
void |
log(java.lang.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 . |
public ConcatFileInputStream(java.io.File[] file) throws java.io.IOException
ConcatFileInputStream
with the specified File[]
.file
- File[]
.java.io.IOException
- if I/O errors occur.public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
- if there is an error.public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
- if there is an error.public void setManagingTask(Task task)
Task
for
this ConcatFileInputStream
.task
- the managing Task
.public void setManagingComponent(ProjectComponent pc)
Task
for
this ConcatFileInputStream
.pc
- the managing Task
.public void log(java.lang.String message, int loglevel)
message
- the String
message.loglevel
- the int
logging level.