org.objectweb.jonathan.tools
Class JPP
java.lang.Object
org.objectweb.jonathan.tools.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.io.OutputStream outS,
java.util.Vector includeDirs,
java.util.Hashtable defNames)
JPP Constructor |
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
- See Also:
- Constant Field Values
INST_INCLUDE
public static final int INST_INCLUDE
- See Also:
- Constant Field Values
INST_DEFINE
public static final int INST_DEFINE
- See Also:
- Constant Field Values
INST_IFDEF
public static final int INST_IFDEF
- See Also:
- Constant Field Values
INST_IFNDEF
public static final int INST_IFNDEF
- See Also:
- Constant Field Values
INST_IF
public static final int INST_IF
- See Also:
- Constant Field Values
INST_ELSE
public static final int INST_ELSE
- See Also:
- Constant Field Values
INST_ELIF
public static final int INST_ELIF
- See Also:
- Constant Field Values
INST_ENDIF
public static final int INST_ENDIF
- See Also:
- Constant Field Values
INST_UNDEF
public static final int INST_UNDEF
- See Also:
- Constant Field Values
BUFSIZE
public static final int BUFSIZE
- See Also:
- Constant Field Values
JPP
public JPP(java.lang.String fileNameIn,
java.io.OutputStream outS,
java.util.Vector includeDirs,
java.util.Hashtable defNames)
throws java.io.IOException
- JPP Constructor
- Parameters:
fileNameIn
- path of the jpp fileincludeDirs
- list of the 'include' directories
preprocess
public boolean preprocess()
throws java.io.IOException
- Throws:
java.io.IOException