Using solar charge controller with wall power

I did not have a battery charger for my 9 amp hour battery and using a car battery charger would kill it. One thing i did have in the shop was a solar charge controller.
Will a wall wort power supply be able to replace the incoming power instead of a solar cell?

source