Recording online radio to harddrive

Is there a programe that will allow you to recorded off a online radio station to the harddrive(like you did with a tape and tape recorder)

Thanks,any help would be great.

http://www.totalrecorder.com

Thanks Upp3rd0G.