org.hsqldb.util
Class CodeSwitcher
java.lang.Object
org.hsqldb.util.CodeSwitcher
- public class CodeSwitcher
- extends java.lang.Object
Modifies the source code to support different JDK or profile settings.
Usage: java CodeSwitcher [paths] [labels] [+][-]
If no labels are specified then all used
labels in the source code are shown.
Use +MODE to switch on the things labeld MODE
Use -MODE to switch off the things labeld MODE
Path: Any number of path or files may be
specified. Use . for the current directory
(including sub-directories).
Example: java CodeSwitcher +JAVA2 .
This example switches on code labeled JAVA2
in all *.java files in the current directory
and all subdirectories.
java CodeSwitcher + .
Adds test code to the code.
java CodeSwitcher - .
Removes test code from the code
Method Summary |
static void |
main(java.lang.String[] a)
Method declaration |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
main
public static void main(java.lang.String[] a)
- Method declaration
- Parameters:
a
-
Copyright © 2001 - 2002 HSQL Development Group. All Rights Reserved.