FileStorageAction

Functions

Link copied to clipboard
abstract fun copy(namespace: StorageNamespace, sourcePath: String, targetPath: String)
open fun copy(namespace: StorageNamespace, sourcePath: ResolvablePath, targetPath: ResolvablePath)
Link copied to clipboard
abstract fun delete(namespace: StorageNamespace, path: String)
open fun delete(namespace: StorageNamespace, path: StoragePath, pathArgs: Array<Any>)
Link copied to clipboard
abstract fun exists(namespace: StorageNamespace, path: String): Boolean
open fun exists(namespace: StorageNamespace, path: StoragePath, pathArgs: Array<Any>): Boolean
Link copied to clipboard
abstract fun get(namespace: StorageNamespace, path: String): FileContent<Array<Byte>>
open fun get(namespace: StorageNamespace, path: StoragePath, pathArgs: Array<Any>): FileContent<Array<Byte>>
Link copied to clipboard
Link copied to clipboard
abstract fun listFiles(namespace: StorageNamespace, prefix: String): List<String>
Link copied to clipboard
abstract fun move(namespace: StorageNamespace, sourcePath: String, targetPath: String)
open fun move(namespace: StorageNamespace, sourcePath: ResolvablePath, targetPath: ResolvablePath)
Link copied to clipboard
abstract fun save(namespace: StorageNamespace, path: String, content: Array<Byte>, fileType: FileType)
open fun save(namespace: StorageNamespace, path: StoragePath, content: Array<Byte>, fileType: FileType, pathArgs: Array<Any>)