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:
Name | Type | Attribute | Description |
url | * | ||
convertRelativeToProject | boolean |
|
Return:
string |
public isLocalAssetPath(thePath: *): * source
Params:
Name | Type | Attribute | Description |
thePath | * |
Return:
* |
public pathToFileURL(thePath: *, convertRelativeToProject: boolean): * source
Params:
Name | Type | Attribute | Description |
thePath | * | ||
convertRelativeToProject | boolean |
|
Return:
* |