/*    */ package cn.com.esgcc.ai.matrix.sdk.util.encrypt.base64;
/*    */ 
/*    */

import java.io.*;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class FileUtils
/*    */ {
/*    */   public static void readToBuffer(StringBuffer buffer, String filePath) throws IOException {
/* 22 */     InputStream is = new FileInputStream(filePath);
/*    */     
/* 24 */     BufferedReader reader = new BufferedReader(new InputStreamReader(is));
/* 25 */     String line = reader.readLine();
/* 26 */     while (line != null) {
/* 27 */       buffer.append(line);
/* 28 */       buffer.append("\n");
/* 29 */       line = reader.readLine();
/*    */     } 
/* 31 */     reader.close();
/* 32 */     is.close();
/*    */   }
/*    */ }


/* Location:              C:\Users\ningj\Desktop\java-sdk-1.0.0-SNAPSHOT\!\cn\com\esgcc\ai\matrix\sd\\util\encrypt\base64\FileUtils.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */