code: public static String stripExtension(final String pResourceName) {
          final int i = pResourceName.lastIndexOf('.');
          return pResourceName.substring( 0, i );
      }
docs: Please do not use - internal
  org/my/Class.xxx -> org/my/Class