maxon.FileAssetInterface

Description

An Asset represents digital content which can be managed by an maxon.AssetRepositoryRef “asset repository”. The management includes versioning, meta data and automatic updates.

Inheritance diagram

Inheritance

Parent Class:

Child Class:

Methods Signature

Create(*args)

Creates a new maxon.FileAsset for the given maxon.Url.

GetUrl()

The maxon.Url to access the file which is wrapped by this asset.

Methods Definition

static FileAssetInterface.Create(*args)

Creates a new maxon.FileAsset for the given maxon.Url. The returned file asset doesn’t belong to a repository, you have to store it afterwards at a repository. This will change the maxon.Url to a maxon.Url within the repository.

Parameters

url (maxon.Url) – The maxon.Url of the file (or directory) which shall be made an asset.

Returns

The maxon.FileAsset wrapping maxon.Url.

Return type

maxon.FileAsset

FileAssetInterface.GetUrl()

The maxon.Url to access the file which is wrapped by this asset. :return: The maxon.Url of the file (or directory). :rtype: maxon.Url