InputStream inputStream = file.getInputStream();
InputStreamReader inputStreamReader =new InputStreamReader(inputStream, "utf-8");
BufferedReader bufferedReader =new BufferedReader(inputStreamReader);
while ((txtContent=bufferedReader.readLine())!=null){
System.out.println("txt内容:"+txtContent);
}