58,454
社区成员
发帖
与我相关
我的任务
分享
String temp = br.readLine();
char[] url=new char[temp.length()];
for(int i=0;i <temp.length();i++){
url[i]=temp.charAt(i);
}
while (url!= null)
{
hash1(url,a); //调用自定义的函数
sBuffer.append(temp);
sBuffer.append("\n");
temp = br.readLine();// 从文件中继续读取一行数据
for(int i=0;i <temp.length();i++){
url[i]=temp.charAt(i);
}
}