Skip to content

IUtilities

Namespace: VideoCataloger

Type: Interface

Exposed utilities in fast video cataloger

Definition

public interface IUtilities

Methods

Method Description
Mask(long) Mask a video file given its id in the catalog
Unmask(long) Unmask a video file given its id in the catalog
ConvertToLocalPath(string) Convert a path to a local path, replacing known [folder] folders given the
ConvertFromLocalPath(string) Convert a path from a local path, i.e. the opposite of ConvertToLocalPath
ConvertFromLocalPath(string) Convert a path from a local path, i.e. the opposite of ConvertToLocalPath

Mask

Mask a video file given its id in the catalog

void Mask(long video_id)

Parameters:

Name Type Description
video_id Int64 id of video file

Unmask

Unmask a video file given its id in the catalog

void Unmask(long video_id)

Parameters:

Name Type Description
video_id Int64 id of video file

ConvertToLocalPath

Convert a path to a local path, replacing known [folder] folders given the

string ConvertToLocalPath(string path)

Parameters:

Name Type Description
path String path to convert

Returns: String


ConvertFromLocalPath

Convert a path from a local path, i.e. the opposite of ConvertToLocalPath

string ConvertFromLocalPath(string path)

Parameters:

Name Type Description
path String path to convert

Returns: String


ConvertFromLocalPath

Convert a path from a local path, i.e. the opposite of ConvertToLocalPath

string ConvertFromLocalPath(string path)

Parameters:

Name Type Description
path String path to convert

Returns: String