|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.appserv.server.util.PreprocessorUtil
public class PreprocessorUtil
PreprocessorUtil is a utility class for managing the bytecode preprocessor(s). The list of preprocessors are passed in as a string array to the initialize method. If there is a problem initialize any of the preprocessors, all preprocessing is disabled.
Constructor Summary | |
---|---|
PreprocessorUtil()
|
Method Summary | |
---|---|
static boolean |
init(String[] ppClassNames)
Initializes the preprocessor utility with the associated class names array arugment. |
static boolean |
isPreprocessorEnabled()
Indicates whether or not the preprocessor is enabled |
static byte[] |
processClass(String className,
byte[] classBytes)
Processes a class through the preprocessor. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PreprocessorUtil()
Method Detail |
---|
public static boolean init(String[] ppClassNames)
ppClassNames
- - the String array of preprocessor class names.
public static byte[] processClass(String className, byte[] classBytes)
className
- - the class name.classBytes
- - the class byte array.
public static boolean isPreprocessorEnabled()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |