|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbiz.hammurapi.util.ResourceAggregator
public class ResourceAggregator
Aggregates multiple classpath resources in one resource stream.
| Constructor Summary | |
|---|---|
ResourceAggregator()
|
|
| Method Summary | |
|---|---|
void |
addResource(java.lang.String resourceName)
Adds resource to the list of resources to be aggregated. |
void |
addResourceList(java.lang.String resourceListName)
Reads each line from 'resourceListName' resource and adds to the list of resources to be aggregated. |
java.io.InputStream |
aggregate()
Aggregates all resources in one resource. |
static void |
main(java.lang.String[] args)
Aggregates resource lists listed in command line arguments and outputs them to console. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceAggregator()
| Method Detail |
|---|
public void addResource(java.lang.String resourceName)
resourceName -
public void addResourceList(java.lang.String resourceListName)
throws java.io.IOException
resourceListName -
java.io.IOException
public java.io.InputStream aggregate()
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
args -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||