Converter de Decimal, Octal e Hexa

Pessoal,

Como se faz para converter de Octal e Hexadecimal para Decimal?

Obrigado

[code]int x = Integer.parseInt("1e23b", 16); //hexadecimal

int x = Integer.parseInt("123", 8); //octal[/code]