try{
Connection conn=DBManager.getConnection();
FileInputStream file=new FileInputStream("e:/t.txt");
BufferReader read=new BufferReader(new InputStreamReader(file));
String line="";
line=read.readLine();
int i=0;
while(line!=null){
   //语句
i=line.indexOf("");
Statement stat=conn.creatStatement();
String account="";
String password="";
String str1="";
StringTokenizer str=new StringTokenizer(line.subString(i+1),"");
while(str.hasMoreElement()){
   account=str.nextToken();
   password=str.nextToken();
   str1=str.nextToken();
   String sql="insert into table (account,password) values('"+account+" ' ,'  "+password+"   ' )";
stat.executeUpdate(sql);
}
   line=read.readLine();
}
}catch(FileNotFoundError e){
   e.printStackTrace();
}catch(IOException e){
   e.printStackTrace();
}catch(Exception e){]
   e.printStackTrace();
}