InputStream
that will
concatenate the contents of Resources from a single ResourceCollection.
Modifier and Type | Field and Description |
---|---|
private InputStream | |
private static final int | |
private boolean | |
private boolean | |
private Iterator | |
private ProjectComponent |
Access | Constructor and Description |
---|---|
public | ConcatResourceInputStream(ResourceCollection
the ResourceCollection to combine. rc)Construct a new ConcatResourceInputStream for the specified ResourceCollection. |
Modifier and Type | Method and Description |
---|---|
public void | |
private void | |
public boolean | Returns: boolean ignore-errors flag.Find out whether this ConcatResourceInputStream ignores errors. |
public void | |
private void | |
public int | Returns: the byte (0 - 255) or -1 if this is the end of the stream.Implements abstract java. |
private int | |
public void | setIgnoreErrors(boolean
whether to ignore errors. b)Set whether this ConcatResourceInputStream ignores errors. |
public void | setManagingComponent(ProjectComponent
the managing pc)ProjectComponent .Set a managing |
currentStream | back to summary |
---|---|
private InputStream currentStream |
EOF | back to summary |
---|---|
private static final int EOF |
eof | back to summary |
---|---|
private boolean eof |
ignoreErrors | back to summary |
---|---|
private boolean ignoreErrors |
iter | back to summary |
---|---|
private Iterator<Resource> iter |
managingPc | back to summary |
---|---|
private ProjectComponent managingPc |
ConcatResourceInputStream | back to summary |
---|---|
public ConcatResourceInputStream(ResourceCollection rc) Construct a new ConcatResourceInputStream for the specified ResourceCollection.
|
close | back to summary |
---|---|
public void close() throws IOException Overrides java. Implements java. Close the stream.
|
closeCurrent | back to summary |
---|---|
private void closeCurrent() |
isIgnoreErrors | back to summary |
---|---|
public boolean isIgnoreErrors() Find out whether this ConcatResourceInputStream ignores errors.
|
log | back to summary |
---|---|
public void log(String message, int loglevel) Log a message with the specified logging level.
|
nextResource | back to summary |
---|---|
private void nextResource() throws IOException |
read | back to summary |
---|---|
public int read() throws IOException Implements abstract java. Read a byte.
|
readCurrent | back to summary |
---|---|
private int readCurrent() throws IOException |
setIgnoreErrors | back to summary |
---|---|
public void setIgnoreErrors(boolean b) Set whether this ConcatResourceInputStream ignores errors.
|
setManagingComponent | back to summary |
---|---|
public void setManagingComponent(ProjectComponent pc) Set a managing
|