problem with pageFetcher

Posted by kate on Stack Overflow See other posts from Stack Overflow or by kate
Published on 2010-05-31T16:41:25Z Indexed on 2010/05/31 16:43 UTC
Read the original article Hit count: 122

Filed under:

hello i use this code for(int i=0; i < citylink.length; i++){ body=pF.fetchpage(citylink[i][1]); //it's for taking the url from the table citylink and returns the source of this url!! i have also declare it in my pagefetcher.java class like this public String fetchPage(String url) { try { url = URIUtil.encodeQuery(url); } catch (URIException e) { // TODO Auto-generated catch block e.printStackTrace(); }

but when i compile it it says that The method fetchpage(String) is undefined for the type PageFetcher and i can't run my problem!!! i don't know what to do

© Stack Overflow or respective owner

Related posts about java