| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.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 ProjectComponentfor
 thisConcatResourceInputStream. | 
| 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.Closeableclose 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.| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||