|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.catalog.site.impl.OSGMM.ListCallback
private class OSGMM.ListCallback
An inner class, that implements the StreamGobblerCallback to store all the lines in a List
| Field Summary | |
|---|---|
(package private) List<String> |
mList
The ArrayList where the lines are stored. |
| Constructor Summary | |
|---|---|
OSGMM.ListCallback()
Default Constructor. |
|
| Method Summary | |
|---|---|
List<String> |
getContents()
Returns the contents captured. |
void |
work(String line)
Callback whenever a line is read from the stream by the StreamGobbler. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
List<String> mList
| Constructor Detail |
|---|
public OSGMM.ListCallback()
| Method Detail |
|---|
public void work(String line)
work in interface StreamGobblerCallbackline - the line that is read.public List<String> getContents()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||