|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgnu.regexp.util.Grep
public class Grep
Grep is a pure-Java clone of the GNU grep utility. As such, it is much slower and not as full-featured, but it has the advantage of being available on any system with a Java virtual machine.
| Method Summary | |
|---|---|
static int |
grep(String[] argv,
gnu.regexp.RESyntax syntax,
PrintStream out)
Runs Grep with the specified arguments. |
static void |
main(String[] argv)
Invokes the grep() function below with the command line arguments and using the RESyntax.RE_SYNTAX_GREP syntax, which attempts to emulate the traditional UNIX grep syntax. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void main(String[] argv)
public static int grep(String[] argv,
gnu.regexp.RESyntax syntax,
PrintStream out)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||