org.brains2b.sql.meta
Class SQLKeyWords

java.lang.Object
  extended by org.brains2b.sql.meta.SQLKeyWords

public class SQLKeyWords
extends java.lang.Object

Class that implements one single static function isReserved which checks if a String is a SQL reserved word.

Version:
0.10.1 [Oct 10, 2005]
Author:
dennis@brains2b.nl

Method Summary
static boolean isReserved(java.lang.String name)
          check if a String is a Java reserved word/keyword
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isReserved

public static boolean isReserved(java.lang.String name)
check if a String is a Java reserved word/keyword

Parameters:
name - String, the value to check
Returns:
boolean, true if the String is a keyword, otherwise false, also if the name is null.