FileSystem

Description

abstract class Tinman.Core.IO.Files.FileSystem

Derived from

Disposable abstract
IFileSystem

Extended by

HttpFileSystem sealed
LocalFileSystem sealed
MemoryFileSystem sealed
VirtualFileSystem sealed

Abstract base class for IFileSystem implementations.

The FileSystem class maintains a global list of the instances of its subclasses: using the constructor will add the new object to that list.

Public / Constructors

From


[ThreadSafe]
public static method From → (1)

path in : Path

[not-null]
The path.

returns → FileSystem

The FileSystem or null.

Returns the first FileSystem object in the global list that owns the given path.

Protected / Constructors

File​System


protected constructor FileSystem → ()

Creates a new instance of FileSystem.

This instance will be appended to the global list of FileSystem objects.

Protected / Attributes

invalid​Characters


protected attribute invalidCharacters → (IBag<char>)

The set of invalid characters.

Subclasses may add characters to this set in the constructor.