C'est exactement ca...
int toto = Integer.parseInt(maString);
ou bien
Integer toto = Integer.valueOf(maString);
Le bloc try - catch de Laurent est facultatif, mais tout de meme conseille...
A+
Si à gauche j'ai l'amont, c'est bon...
Si à gauche j'ai l'aval, j'suis bancal...