public class ConcatResourceInputStream extends 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(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. |
available, mark, markSupported, read, read, reset, skippublic ConcatResourceInputStream(ResourceCollection rc)
rc - the ResourceCollection to combine.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class InputStreamIOException - if there is an error.public boolean isIgnoreErrors()
public void log(String message, int loglevel)
message - the String message.loglevel - the int logging level.public int read()
throws IOException
read in class InputStreamIOException - if there is an error.public void setIgnoreErrors(boolean b)
b - whether to ignore errors.public void setManagingComponent(ProjectComponent pc)
ProjectComponent for
this ConcatResourceInputStream.pc - the managing ProjectComponent.