docs: public static String toCapCase( final String string )
      {
          if ( string == null )
          {
              return null;
          }
  
          if( string.length() == 1 )
          {
              return string.toUpperCase();
          }
  
          return Character.toUpperCase( string.charAt( 0 ) ) + string.substring( 1 ).toLowerCase();
      }