Sax Parser Character Array to Integer??

Posted by Andy Barlow on Stack Overflow See other posts from Stack Overflow or by Andy Barlow
Published on 2010-04-04T20:10:56Z Indexed on 2010/04/04 20:13 UTC
Read the original article Hit count: 461

Filed under:
|
|
|

Hello,

I am trying to get the contents of tags into variables in my java Sax parser. However, the Characters method only returns Char arrays. Is there anyway to get the Char array into an Int???

public void characters(char ch[], int start, int length) {

  if(this.in_total_results) {
      // my INT varialble would be nice here!
  } 

}

Can anyone help at all?

Kind regards,

Andy

© Stack Overflow or respective owner

Related posts about saxparser

Related posts about android