|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.InputStream
org.apache.tools.ant.util.ConcatFileInputStream
public class ConcatFileInputStream
Special InputStream
that will
concatenate the contents of an array of files.
Constructor Summary | |
---|---|
ConcatFileInputStream(java.io.File[] file)
Construct a new ConcatFileInputStream
with the specified File[] . |
Method Summary | |
---|---|
void |
close()
|
void |
log(java.lang.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 . |
Methods inherited from class java.io.InputStream |
---|
available, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.InputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public void setManagingTask(Task task)
Task
for
this ConcatFileInputStream
.
task
- the managing Task
.public void setManagingComponent(ProjectComponent pc)
Task
for
this ConcatFileInputStream
.
task
- the managing Task
.public void log(java.lang.String message, int loglevel)
message
- the String
message.loglevel
- the int
logging level.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |