Class Tools


  • public final class Tools
    extends java.lang.Object
    A set of Tools which do not belong anywhere else in the API at this time. This is nasty, but for now, useful.
    Author:
    Antony Riley
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Tools()
      Private constructor so this class can't be instantiated.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getClassName​(java.lang.String internalName)
      Get the java class name given an internal class name.
      • Methods inherited from class java.lang.Object

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

      • Tools

        private Tools()
        Private constructor so this class can't be instantiated.
    • Method Detail

      • getClassName

        public static final java.lang.String getClassName​(java.lang.String internalName)
        Get the java class name given an internal class name. This method currently replaces all instances of $ and / with . this may not be according to the java language spec, and will almost certainly fail for some inner classes.
        Parameters:
        internalName - The internal name of the class.
        Returns:
        The java class name.