Class MiscUtil
java.lang.Object
fc.util.MiscUtil
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intReturns the number of columns in the terminal - if this program is invoked from a Terminal.static booleanisJavaKeyword(String word) Returns true if the specified word is a Java Language Keyword.static void
-
Field Details
-
java_keywords
-
-
Constructor Details
-
MiscUtil
public MiscUtil()
-
-
Method Details
-
isJavaKeyword
Returns true if the specified word is a Java Language Keyword. Keywords (and hence this comparison) are case sensitive, upper case versions of these are ok in Java. -
getTerminalColumnCount
Returns the number of columns in the terminal - if this program is invoked from a Terminal.Returns -1 if not a terminal or terminal size cannot be found
-
main
-