|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.InputStream org.apache.tools.ant.util.ConcatResourceInputStream
public class ConcatResourceInputStream
Special InputStream
that will
concatenate the contents of Resources from a single ResourceCollection.
Constructor Summary | |
---|---|
ConcatResourceInputStream(ResourceCollection rc)
Construct a new ConcatResourceInputStream for the specified ResourceCollection. |
Method Summary | |
---|---|
void |
close()
Close the stream. |
boolean |
isIgnoreErrors()
Find out whether this ConcatResourceInputStream ignores errors. |
void |
log(java.lang.String message,
int loglevel)
Log a message with the specified logging level. |
int |
read()
Read a byte. |
void |
setIgnoreErrors(boolean b)
Set whether this ConcatResourceInputStream ignores errors. |
void |
setManagingComponent(ProjectComponent pc)
Set a managing ProjectComponent for
this ConcatResourceInputStream . |
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 ConcatResourceInputStream(ResourceCollection rc)
rc
- the ResourceCollection to combine.Method Detail |
---|
public void setIgnoreErrors(boolean b)
b
- whether to ignore errors.public boolean isIgnoreErrors()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
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 setManagingComponent(ProjectComponent pc)
ProjectComponent
for
this ConcatResourceInputStream
.
pc
- the managing ProjectComponent
.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 |