Android从文件中读入数据

Android从文件中读入数据

FileInputStream fileInputStream=new FileInputStream(data_path);
BufferedReader bfr=new BufferedReader(new InputStreamReader(fileInputStream));
String instring;
while ((instring=bfr.readLine())!=null){
	Log.d(TAG,instring);
}
posted @ 2020-04-25 21:40  caoanda  阅读(265)  评论(0编辑  收藏  举报