摘要:
public static int getLineCount(File file) { long startTime = System.currentTimeMillis(); int lines = 0; try ( FileReader in = new FileReader(file); Li 阅读全文
摘要:
package com.xf.common.myutils; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; 阅读全文