|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--com.stevesoft.pat.apps.Grep
This provides the functionality of the UNIX utility grep. Options:
| Constructor Summary | |
Grep()
|
|
| Method Summary | |
boolean |
getIFlag()
The ignore case flag |
boolean |
getPFlag()
The paragraph mode flag |
Regex |
getRegex()
The pattern to be searched for |
boolean |
getVerbose()
Determine if file and line number info is written. |
boolean |
getVFlag()
If the vflag is true, then only lines not matching the supplied pattern will be printed. |
static void |
main(java.lang.String[] args)
|
void |
setIFlag(boolean b)
The ignore case flag |
void |
setPFlag(boolean b)
The paragraph mode flag |
void |
setRegex(Regex r)
The pattern to be searched for |
void |
setVerbose(boolean b)
Determine if file and line number info is written. |
void |
setVFlag(boolean b)
If the vflag is true, then only lines not matching the supplied pattern will be printed. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Grep()
| Method Detail |
public static void main(java.lang.String[] args)
throws java.lang.Exception
public boolean getIFlag()
public void setIFlag(boolean b)
public boolean getPFlag()
public void setPFlag(boolean b)
public boolean getVFlag()
public void setVFlag(boolean b)
public boolean getVerbose()
public void setVerbose(boolean b)
public void setRegex(Regex r)
public Regex getRegex()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||