Heavy meson mass spectra by general relativistic methods