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);
}