package cn.Dbutils;
import java.io.*;
public class As {
static int num = 0;
static int c =0;
public static void main(String[] args) {
String per = "e/";
}
public static void show(File f){
for (File ff : f.listFiles()){
if (ff.isDirectory()){
show(ff);
}else if (ff.getName().endsWith(".java")){
System.out.println(ff.getAbsolutePath());
try {
BufferedReader reader = new BufferedReader(new FileReader(ff));
long lines = reader.lines().count();
c += lines;
System.out.println(lines);
} catch (FileNotFoundException e) {
e.printStackTrace();
}
++num;
}
}
}
}