public class ConcatResourceInputStream
extends java.io.InputStream
InputStream that will
concatenate the contents of Resources from a single ResourceCollection.| Constructor and Description |
|---|
ConcatResourceInputStream(ResourceCollection rc)
Construct a new ConcatResourceInputStream
for the specified ResourceCollection.
|
| Modifier and Type | Method and Description |
|---|---|
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. |
public ConcatResourceInputStream(ResourceCollection rc)
rc - the ResourceCollection to combine.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.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOException - if there is an error.public int read()
throws java.io.IOException
read in class java.io.InputStreamjava.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.