|
||||||
PREV NEXT | FRAMES NO FRAMES |
See:
Description
Packages | |
---|---|
mmp.cli | Provides the command line interface to the MNI macro processor mmp. |
mmp.engine | Provides the engine of the MNI macro processor mmp. |
The MNI macro processor mmp is an embeddable, m4 compatible macro processor in Java.
The following code snippet shows how to use mmp:
String input = new String(
"index(`abc', `b')\n" +
"index(`abc', )\n" +
"index(`abc', `d')\n"
);
StringWriter output = new StringWriter();
Engine engine = new Engine( new StringReader(input), new PrintWriter(output) );
engine.run();
For more information about macro processing with m4, and the MNI macro processor, see
|
||||||
PREV NEXT | FRAMES NO FRAMES |