Home Reference Source
public class | source

HelperUtil

You can directly use an instance of this class. helperUtil

Extends:

cables-shared-api~SharedHelperUtil → HelperUtil

Constructor Summary

Public Constructor
public

Method Summary

Public Methods
public

fileURLToPath(url: *, convertRelativeToProject: boolean): string

public

isLocalAssetPath(thePath: *): *

public

pathToFileURL(thePath: *, convertRelativeToProject: boolean): *

Public Constructors

public constructor() source

Public Methods

public fileURLToPath(url: *, convertRelativeToProject: boolean): string source

Params:

NameTypeAttributeDescription
url *
convertRelativeToProject boolean
  • optional
  • default: false

Return:

string

public isLocalAssetPath(thePath: *): * source

Params:

NameTypeAttributeDescription
thePath *

Return:

*

public pathToFileURL(thePath: *, convertRelativeToProject: boolean): * source

Params:

NameTypeAttributeDescription
thePath *
convertRelativeToProject boolean
  • optional
  • default: false

Return:

*