DataFileSystem<TValue>

Namespace: uModIO

Assembly: uMod.Core.dll

Inheritance ObjectDataSystem<String, TValue> DataFileSystem

Implements IDataSystem<String, TValue>, IDataFileSystem<TValue>

Summary

Represents a generic data file system

Constructors

Name

Summary

DataFileSystem (String)

Create data file system for the specified directory

DataFileSystem (String, DataFormat)

Create data file system for the specified directory using the specified data format

DataFileSystem (DataCategory)

Create data file system for the specified data category

DataFileSystem (DataFormat, DataCategory)

Create data file system for the specified data format and data category

Methods

Name

Summary

Delete (String)

Delete file(s) matching the following path or path pattern

Exists (String)

Checks if file exists

GetDataFile (String)

Gets data file for the specified path

GetFiles (String)

Gets enumerable of files within directory

Load (IDataFile<TValue>, Boolean)

Load (IEnumerable<IPromise<TValue>>)

ReadObject (String, Boolean)

Read object from the specified path

ReadObjects (IEnumerable<String>, Boolean)

Read objects from the specified paths

Save (IDataFile<TValue>, TValue)

Save (IDataFile<TValue>)

Save (IEnumerable<IPromise>)

Save the specified promises

WriteObject (String, TValue)

WriteObjects (IDictionary<String, TValue>)