FileOperations

interface FileOperations

Interface representing file operations that can be performed.

Inheritors

Functions

Link copied to clipboard
abstract fun add(attachment: Attachment)

Adds a single attachment

abstract fun add(url: String)

Adds a single URL

abstract fun add(urls: Collection<String>)

Adds a list of URLs

abstract fun add(attachments: List<Attachment>, origin: Origin)

Adds a list of attachments

Link copied to clipboard
abstract fun remove(key: String?)

Removes a single key

abstract fun remove(keys: Collection<String>)

Removes a list of keys

abstract fun remove(attachment: Attachment?, origin: Origin)

Removes a single attachment

abstract fun remove(attachments: List<Attachment>, origin: Origin)

Removes a list of attachments

Link copied to clipboard
abstract fun set(urls: Collection<String>)

Sets the list of URLs, replacing any existing URLs.

abstract fun set(attachments: List<Attachment>)

Sets the list of attachments, replacing any existing attachments.