public class FileUtils extends Object
| 构造器和说明 |
|---|
FileUtils() |
public static void readToBuffer(StringBuffer buffer, String filePath) throws IOException
buffer - bufferfilePath - 文件路径IOException - 异常public static String readFile(String filePath) throws IOException
filePath - 文件所在路径IOException - 异常Copyright © 2022. All rights reserved.