import java.io.InputStreamReader;/ Created by Administrator on 2016/1/8./ public class TestReadTxt { public static void readTxtFile(String filePath){ try { String encoding="GBK";File file=new File(filePath);if(file.isFile() && file.exists()){ //判断文件是否存在 InputStream...