FilterFileSystemProvider

abstract class FilterFileSystemProvider(delegate: FileSystem, uriScheme: String)

A FilterFileSystemProvider contains another FileSystem, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.

Inheritors

Constructors

Link copied to clipboard
constructor(delegate: FileSystem, uriScheme: String)

Functions

Link copied to clipboard
open fun appendingSink(file: Path, mustExist: Boolean = false): Sink
Link copied to clipboard
open fun atomicMove(source: Path, target: Path)
Link copied to clipboard
open fun canonicalize(path: Path): Path
Link copied to clipboard
open fun createDirectory(dir: Path, mustCreate: Boolean = false)
Link copied to clipboard
open fun delete(path: Path, mustExist: Boolean = true)
Link copied to clipboard
Link copied to clipboard
fun getPath(uri: String): Path
Link copied to clipboard
Link copied to clipboard
open fun list(dir: Path): List<Path>
Link copied to clipboard
open fun listOrNull(dir: Path): List<Path>?
Link copied to clipboard
open fun metadataOrNull(path: Path): FileMetadata?
Link copied to clipboard
open fun onClose()
Link copied to clipboard
open fun openReadOnly(file: Path): FileHandle
Link copied to clipboard
open fun openReadWrite(file: Path, mustCreate: Boolean = false, mustExist: Boolean = false): FileHandle
Link copied to clipboard
open fun sink(file: Path, mustCreate: Boolean = false): Sink
Link copied to clipboard
open fun source(file: Path): Source
Link copied to clipboard
open fun wrapPath(path: Path): Path

wraps a Path with provider-specific behavior