org.objectweb.jpp
Class JPP
java.lang.Object
|
+--org.objectweb.jpp.JPP
- public class JPP
- extends java.lang.Object
JPP as Java PreProcessor.
This class allows to preprocess a jpp file included the directives
-
#include
-
#ifdef
-
#ifndef
-
#else
-
#endif
Constructor Summary |
JPP(java.lang.String fileNameIn,
java.lang.String dirOutputName,
java.util.Vector includeDirs,
java.util.Vector definedNames)
JPP Constructor |
Method Summary |
static void |
main(java.lang.String[] args)
|
void |
preprocess()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPP
public JPP(java.lang.String fileNameIn,
java.lang.String dirOutputName,
java.util.Vector includeDirs,
java.util.Vector definedNames)
throws java.io.IOException
- JPP Constructor
- Parameters:
fileNameIn
- path of the jpp filedirOutputName
- path of the directory where to place the generated file
(null if not defined)includeDirs
- list of the 'include' directoriesdefinedNames
- list of the defined names
preprocess
public void preprocess()
throws java.io.IOException
main
public static void main(java.lang.String[] args)
throws java.io.IOException