Convenience class for reading character files. The constructors of this class assume that the default character encoding and the default byte-buffer size are appropriate. To specify these values yourself, construct an InputStreamReader on a FileInputStream.
FileReader is meant for reading streams of characters. For reading streams of raw bytes, consider using a FileInputStream.
API上说得很清楚。FileReader是字符流,每次读一个字符。采用默认的字符编码,也就是UTF-8。
FileReader is meant for reading streams of characters. For reading streams of raw bytes, consider using a FileInputStream.
API上说得很清楚。FileReader是字符流,每次读一个字符。采用默认的字符编码,也就是UTF-8。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/183473/viewspace-421541/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/183473/viewspace-421541/