problem with pageFetcher
- by kate
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