public void csvOpenWithReader(InputStreamReader reader) {
BufferedReader bufferedreader = new BufferedReader(reader);
int lineDel = 1;// 跳过第几行
int line = 0;
String stemp;
try {
while ((stemp = bufferedreader.readLine()) != null) {
line++;
if(line==lineDel) continue;
if (stemp.trim().length() > 0) {
// System.out.println(stemp);// 分割字符串
BzptBook book = splitStringToBook(stemp);
this.bzptbookmanager.saveBzptBook(book);
}
}
} catch (IOException e) {
e.printStackTrace();
}
}