Class PathReader
java.lang.Object
cool.scx.http.media.path.PathReader
- All Implemented Interfaces:
MediaReader<Path>
将内容写入到文件
todo 这里是否有必要支持 复杂的写入 比如指定文件的偏移量和写入长度 还是保持当前类的简便化 因为 用户可以直接拿到 InputStream 添加复杂的功能是否有意义 ?
- Version:
- 0.0.1
- Author:
- scx567888
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PathReader
-
-
Method Details
-
read
Description copied from interface:MediaReader读取内容- Specified by:
readin interfaceMediaReader<Path>- Parameters:
inputStream- 输入流headers- 请求头 (在客户端状态下是 responseHeaders)- Throws:
IOException
-