org.objectweb.jonathan.tools
Class JPP
java.lang.Object
|
+--org.objectweb.jonathan.tools.JPP
- public class JPP
- extends Object
JPP as Java PreProcessor.
This class allows to preprocess a jpp file included the directives
-
#include
-
#ifdef
-
#ifndef
-
#else
-
#endif
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_JPP_INST
public static final int NO_JPP_INST
INST_INCLUDE
public static final int INST_INCLUDE
INST_DEFINE
public static final int INST_DEFINE
INST_IFDEF
public static final int INST_IFDEF
INST_IFNDEF
public static final int INST_IFNDEF
INST_IF
public static final int INST_IF
INST_ELSE
public static final int INST_ELSE
INST_ELIF
public static final int INST_ELIF
INST_ENDIF
public static final int INST_ENDIF
INST_UNDEF
public static final int INST_UNDEF
BUFSIZE
public static final int BUFSIZE
JPP
public JPP(String fileNameIn,
OutputStream outS,
Vector includeDirs,
Hashtable defNames)
throws IOException
- JPP Constructor
- Parameters:
fileNameIn - path of the jpp fileoutputStream - outputStream where to send the resultincludeDirs - list of the 'include' directoriesdefinedNames - list of the defined names
preprocess
public boolean preprocess()
throws IOException