Writer的基本方法


  //向输出流中写入一个字符数据,该字节数据为参数b的低16位

  void write(int c) throws IOException

  //将一个字符类型的数组中的数据写入输出流,

  void write(char[] cbuf) throws IOException

  //将一个字符类型的数组中的从指定位置(offset)开始的

  //length个字符写入到输出流

  void write(char[] cbuf,int offset, int length)

              throws IOException

  //将一个字符串中的字符写入到输出流

  void write(String string) throws IOException

  //讲一个字符串从offset开始的length个字符写入到输出流

  void write(String string, int offset, int length)

              throws IOException

  //关闭流释放内存资源

  void close() throws IOException

  //将输出流中缓冲的数据全部写出到目的地

  void flush() throws IOException

点击链接了解更多

最新文章

  1. iOS - URL Scheme 操作
  2. cocos2d-x渲染流程
  3. BZOJ3772: 精神污染
  4. Linux下编译java并生成jar包
  5. jQuery和CSS 3定制HTML 5视频播放器
  6. Terminate program hitting CTRl+C within GDB
  7. Tomcat 自动上传的删除文件
  8. Web开发人员不要错过的60款用户界面设计工具(下)
  9. Android开发——xml知识之xml可绘制对象简介
  10. DOM2练习
  11. Hyperledger Fabric Model——超级账本组成模型
  12. VS2015 (C/C++) 生成的程序,不能在server2008上运行
  13. 浏览器控制台调试json数据
  14. poj3660 cow contest
  15. Tomcat 在 Linux 上的安装和配置
  16. aws s3文件上传设置accesskey、secretkey、sessiontoken
  17. Linux可执行文件后缀问题
  18. Django外键关系:一对一、一对多,多对多
  19. Servlet实现的三种方法
  20. Filter(过滤器)与Interceptor(拦截器)的区别

热门文章

  1. Codeforces 1097D (DP+分解质因数)
  2. springcloud费话之Eureka接口调用(feign)
  3. antd desgin vue 报错 Warning: Each record in table should have a unique `key` prop,or set `rowKey` to an unique primary key.
  4. __kindof的用法
  5. 2018-7-24-WPF-渲染级别
  6. Redis这篇就够了
  7. Django组件——用户认证
  8. 关于Insufficient space for shared memory file解决办法
  9. .net core 添加NLog
  10. Flutter日曆國際化