edu.isi.pegasus.planner.parser.pdax
private class PDAX2MDAG.GrepCallback extends Object implements StreamGobblerCallback
| Modifier and Type | Field and Description |
|---|---|
private int |
mCount
The number of times the word appears.
|
private String |
mWord
The word that is to be searched for.
|
private int |
mWordLength
The length of the word to be searched for.
|
| Constructor and Description |
|---|
PDAX2MDAG.GrepCallback(String word)
Overloaded Constructor.
|
private String mWord
private int mWordLength
private int mCount
public PDAX2MDAG.GrepCallback(String word)
word - the word to be searched for.public void work(String line)
work in interface StreamGobblerCallbackline - the line that is read.public int getCount()
public void reset()