public class StreamReaderUtils extends Object
| 构造器和说明 |
|---|
StreamReaderUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static InputStreamReader |
reader(File file)
读取文件
|
static InputStreamReader |
reader(File file,
Charset charset)
读取文件
|
static InputStreamReader |
reader(File file,
String charset)
读取文件
|
static FileReader |
reader(String file) |
public static FileReader reader(String file) throws MsToolsException
MsToolsExceptionpublic static InputStreamReader reader(File file) throws MsToolsException
file - 文件MsToolsException - MsToolsExceptionpublic static InputStreamReader reader(File file, String charset) throws MsToolsException
file - 文件charset - 字符集MsToolsException - MsToolsExceptionpublic static InputStreamReader reader(File file, Charset charset) throws MsToolsException
file - 文件charset - 字符集MsToolsException - MsToolsExceptionCopyright © 2024. All rights reserved.