|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object test.Main
public class Main
This class uses frej library in the way similar to "grep" tool: you pass regexp pattern as a command line argument (you'd better use quotes) and then enter test lines. For each of lines program attempts to find a matching region according to pattern and if succeeds, return the string with the region changed by "regex.replacement". Try the example presented when you specify no patterns at all.
Method Summary | |
---|---|
static void |
main(String... args)
it is the main (and only) method of a class |
Methods inherited from class Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void main(String... args)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |