code: public static Long parseLong(final String str) {
          if (null != str) {
              try {
                  return new Long(Long.parseLong(str.trim()));
              } catch (final Exception e) {
                  // :IGNORE:
              }
          }
          return null;
      }
docs: Parses a Long out of a string.
  
  @param str string to parse for a Long.
  @return the Long represented by the given string, It returns <b>null</b> if it was not
  possible to parse the the string.