首页 > 其他 > 详细

OutStreamWriter 和 Filewriter

时间:2014-03-01 00:57:40      阅读:869      评论:0      收藏:0      [点我收藏+]

JAVA API:

ABOUT OutStreamWriter:

"An OutputStreamWriter is a bridge from character streams to byte streams: Characters written to it are encoded into bytes using a specified charset. The charset that it uses may be specified by name or may be given explicitly, or the platform‘s default charset may be accepted."

「OutputStreamWriter是连接字符流和字节流的桥梁:写入这个类的字符流会被编码为“charset”所指示的编码格式。这个charset可以通过名字指定或是直接给出,也接受平台的默认charset(好像是UTF-8)。」

 

ABOUT FileWriter:

"The constructors of this class assume that the default character encoding and the default byte-buffer size are acceptable."

「这个类的构造函数假定用户使用默认的编码方式,并且允许使用默认的字节缓冲大小。」

OutStreamWriter 和 Filewriter,布布扣,bubuko.com

OutStreamWriter 和 Filewriter

原文:http://www.cnblogs.com/larrylawrence/p/3573343.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!