try {
     fis = new FileInputStream( file ); //新建文件输入流对file
     long len = file.length(); //len 文件长度
     byte[] bt = new byte[new Long( len ).intValue()];//新建字符数组,长度为文件长度
     fis.read( bt );//把文件读入字符数组bt
     String strSql = new String( bt );//把bt转换为字符串
     return strSql;
 }