Class JavaUtils


  • public class JavaUtils
    extends java.lang.Object
    Some java helper methods.
    Author:
    Holger Eichelberger
    • Constructor Summary

      Constructors 
      Constructor Description
      JavaUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isJavaIdentifier​(java.lang.String string)
      Returns whether string is a valid Java identifier.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JavaUtils

        public JavaUtils()
    • Method Detail

      • isJavaIdentifier

        public static boolean isJavaIdentifier​(java.lang.String string)
        Returns whether string is a valid Java identifier.
        Parameters:
        string - the string to be tested
        Returns:
        true if it is a valid Java identifier, false else