Modifier and Type | Method and Description |
---|---|
static DataSink |
asDataSink(OutputStream out)
Returns a
DataSink which outputs received data into the provided
OutputStream . |
static DataSink |
asDataSink(RandomAccessFile file)
Returns a
DataSink which outputs received data into the provided file, sequentially,
starting at the beginning of the file. |
public static DataSink asDataSink(OutputStream out)
DataSink
which outputs received data into the provided
OutputStream
.public static DataSink asDataSink(RandomAccessFile file)
DataSink
which outputs received data into the provided file, sequentially,
starting at the beginning of the file.Copyright © 2016. All rights reserved.