Integer类里就有。
static String toBinaryString(int i) 
          Creates a string representation of the integer argument as an unsigned integer in base 2. 
static String toHexString(int i) 
          Creates a string representation of the integer argument as an unsigned integer in base 16. 
static String toOctalString(int i) 
          Creates a string representation of the integer argument as an unsigned integer in base 8.