Package cool.scx.common.io_stream_source
Interface OutputStreamSource
- All Known Subinterfaces:
InputStreamSource
- All Known Implementing Classes:
BytesSource,BytesSupplierSource,GunzipBuilder,GzipBuilder,NullSource,PathSource,ProgressiveJPEGBuilder,RawInputStreamSource,ScxHttpClientResponseBody,ZipEntrySource
public interface OutputStreamSource
-
Method Summary
Modifier and TypeMethodDescriptiondefault byte[]toBytes()default voidtoFile(Path outputPath, OpenOption... options) void写入到指定输出流
-
Method Details
-
toFile
- Throws:
IOException
-
toBytes
- Throws:
IOException
-
writeToOutputStream
写入到指定输出流- Parameters:
out- 输出流- Throws:
IOException- e
-