public final class MiscUtil extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
java_keywords |
Constructor and Description |
---|
MiscUtil() |
Modifier and Type | Method and Description |
---|---|
static int |
getTerminalColumnCount()
Returns the number of columns in the terminal - if this program is invoked from a Terminal.
|
static boolean |
isJavaKeyword(java.lang.String word)
Returns true if the specified word is a Java Language Keyword.
|
static void |
main(java.lang.String[] args) |
public static final java.lang.String[] java_keywords
public MiscUtil()
public static boolean isJavaKeyword(java.lang.String word)
public static int getTerminalColumnCount()
Returns -1 if not a terminal or terminal size cannot be found
public static void main(java.lang.String[] args)