当前位置: 代码迷 >> 综合 >> Writer 类常用方法
  详细解决方案

Writer 类常用方法

热度:58   发布时间:2023-12-12 10:49:02.0

                                                                                                      Writer 类常用方法

                        方法名称                                                                                                                                            说明
                 write(String str)                                                                                                     将str字符串里包含的字符输出到指定的输出流中
                 write(String str,int,off,int len)                                                                         将str字符串里从off位置开始长度为len的字符输出到输出流中
                 void close()                                                                                                           关闭输出流
                 void fiush()                                                                                                            刷新输出流

 

 

 

 

 

 

 

  相关解决方案