| |
|
| java.lang.Object java.io.InputStream org.apache.tools.ant.util.ConcatResourceInputStream
ConcatResourceInputStream | public class ConcatResourceInputStream extends InputStream (Code) | | Special InputStream that will
concatenate the contents of Resources from a single ResourceCollection.
since: Ant 1.7 |
Method Summary | |
public void | close() Close the stream. | public boolean | isIgnoreErrors() Find out whether this ConcatResourceInputStream ignores errors. | public void | log(String message, int loglevel) Log a message with the specified logging level. | public int | read() Read a byte. | public void | setIgnoreErrors(boolean b) Set whether this ConcatResourceInputStream ignores errors. | public void | setManagingComponent(ProjectComponent pc) Set a managing ProjectComponent for
this ConcatResourceInputStream . |
ConcatResourceInputStream | public ConcatResourceInputStream(ResourceCollection rc)(Code) | | Construct a new ConcatResourceInputStream
for the specified ResourceCollection.
Parameters: rc - the ResourceCollection to combine. |
isIgnoreErrors | public boolean isIgnoreErrors()(Code) | | Find out whether this ConcatResourceInputStream ignores errors.
boolean ignore-errors flag. |
log | public void log(String message, int loglevel)(Code) | | Log a message with the specified logging level.
Parameters: message - the String message. Parameters: loglevel - the int logging level. |
read | public int read() throws IOException(Code) | | Read a byte.
the byte (0 - 255) or -1 if this is the end of the stream. throws: IOException - if there is an error. |
setIgnoreErrors | public void setIgnoreErrors(boolean b)(Code) | | Set whether this ConcatResourceInputStream ignores errors.
Parameters: b - whether to ignore errors. |
setManagingComponent | public void setManagingComponent(ProjectComponent pc)(Code) | | Set a managing ProjectComponent for
this ConcatResourceInputStream .
Parameters: pc - the managing ProjectComponent . |
|
|
|