Java Use String To Call Method In C