Class MiscUtil

java.lang.Object
fc.util.MiscUtil

public final class MiscUtil extends Object
Misc. utils
  • Field Details

  • Constructor Details

  • Method Details

    • isJavaKeyword

      public static boolean isJavaKeyword(String word)
      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

      public static int 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

      public static void main(String[] args)