How to read/convert hexidecimal string to an interger
Hello everyone,
This is probably very simple but non of my books show what I need to do. I am running Java 1.4.2 and not ready yet for 1.5.
I wanted to read Property entries containing hexidecimal entries and then convert the hexidecimal entries (which are in String format) into a number either int., long,double or Interger.
Property entry:
address=0x06FE
--
Property prop = new ....
String addr = prop.getProperty("address");
Interger num = new Interger.parseInt(addr); <- fails
Would appreciate your help
Regards,
Ulises

