int a = Integer.valueOf("stinga da convertire").intValue();

ciao