org.hsqldb.util
Class CodeSwitcher

java.lang.Object
  extended byorg.hsqldb.util.CodeSwitcher

public class CodeSwitcher
extends 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
 

Version:
1.7.0

Method Summary
static void main(String[] a)
          Method declaration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] a)
Method declaration

Parameters:
a -


Copyright © 2001 - 2004 HSQL Development Group. All Rights Reserved.