url = new URL(下载路径); URLConnection connection = url.openConnection(); Long a = connection.getLastModified(); Date date = new Date(a); Timestamp timestamp = new Timestamp(date.getTime()); inputStream = connection.getInputStream();                             writePath = new FileOutputStream(存放路径); write = new BufferedOutputStream(writePath); byte[] buff = new byte[1024]; int count; while ((count = inputStream.read(buff)) > 0) { write.write(buff, 0, count);                             }
这段代码中怎么获得文件的行数呢