Class FileAssetDataSource

Inheritance Relationships

Base Type

Class Documentation

class FileAssetDataSource : public csp::systems::AssetDataSource

A file based data source for Assets, handles uploading a file based on a file path.

Data Values

csp::common::String FilePath

Public Functions

virtual const csp::common::String &GetMimeType() const override

Gets the mime type of this data source.

Returns

returns a string representing the mime type set for this data source.

virtual void SetMimeType(const csp::common::String &InMimeType) override

Sets the mime type for this data source.

Parameters

InMimeType – The mime type to set.