BaseFileIOProcessor

Represents base file IO operations

Inheritors

Properties

Link copied to clipboard
abstract val useEncryption: Boolean

Functions

Link copied to clipboard
abstract fun copy(source: File, destination: File)

Creates a copy of the source file to the destination file with encryption if its enabled

Link copied to clipboard
abstract fun copyRaw(source: File, destination: File)

Creates a raw copy of the source file to the destination file without encryption if its enabled

Link copied to clipboard
abstract fun move(source: File, destination: File)

Creates a copy of the source file to the destination file and deletes the source file. Encryption is applied if enabled.

Link copied to clipboard
abstract override fun openFileInputStream(sourceFile: File): InputStream?

Returns OutputStream for the source file

Link copied to clipboard
abstract override fun openFileOutputStream(destinationFile: File): OutputStream?

Returns OutputStream for the destination file

Link copied to clipboard
abstract fun read(source: File): ByteArray?

Read ByteArray data from the source File

Link copied to clipboard
abstract fun write(byteArray: ByteArray, destination: File)

Write ByteArray data to the destination File