MultiFileOutputStream

class MultiFileOutputStream(    val filesDir: File,     partSize: Long,     namePrefix: String,     listener: MultiFileOutputStream.Listener) : OutputStream

A class that allows to write to multiple files. The files are created in the given directory.

Constructors

Link copied to clipboard
fun MultiFileOutputStream(    filesDir: File,     partSize: Long,     namePrefix: String,     listener: MultiFileOutputStream.Listener)

Types

Link copied to clipboard
interface Listener

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun delete()

Delete all files

Link copied to clipboard
open override fun flush()
Link copied to clipboard
open override fun write(b: ByteArray)
open override fun write(b: Int)
open override fun write(    b: ByteArray,     off: Int,     len: Int)

Properties

Link copied to clipboard
val filesDir: File
Link copied to clipboard
val isClosed: Boolean
Link copied to clipboard
val numOfFileWritten: Int