SharedFilesUtil
Extends:
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
FILETYPES: {"image": *, "binary": *, "audio": *, "video": *, "gltf": *, "3d raw": *, "JSON": *, "CSS": *, "textfile": *, "pointcloud": *, "shader": *, "SVG": *, "CSV": *, "XML": *, "font": *, "mesh sequence": *, "pointcloud json": *, "3d json": *, "javascript": *, "ar markers": *} |
|
public get |
utilName: * |
Method Summary
Public Methods | ||
public |
getAssetFileName(fileDb: *): * |
|
public |
getConvertersForFile(fileName: *): * |
|
public |
getFileAssetLocation(file: *): * |
|
public |
getFileAssetUrlPath(file: *): * |
|
public |
getFileIconName(fileDb: *): * |
|
public |
getFileInfo(fileDb: *): * |
|
public |
getFileInfoFromFile(absolutePath: *): * |
|
public |
getFileType(filename: *): * |
|
public |
getSuffix(filename: *): * |
|
public |
imageSize(fn: *): * |
|
public |
isAssetLibraryLocation(filePath: *): * |
|
public |
isPowerOfTwo(x: *): * |
|
public |
realSanitizeFilename(_filename: *): * |
Public Constructors
public constructor() source
Public Members
public FILETYPES: {"image": *, "binary": *, "audio": *, "video": *, "gltf": *, "3d raw": *, "JSON": *, "CSS": *, "textfile": *, "pointcloud": *, "shader": *, "SVG": *, "CSV": *, "XML": *, "font": *, "mesh sequence": *, "pointcloud json": *, "3d json": *, "javascript": *, "ar markers": *} source
public get utilName: * source
Public Methods
public getAssetFileName(fileDb: *): * source
Params:
Name | Type | Attribute | Description |
fileDb | * |
Return:
* |
public getConvertersForFile(fileName: *): * source
Params:
Name | Type | Attribute | Description |
fileName | * |
Return:
* |
public getFileAssetLocation(file: *): * source
Params:
Name | Type | Attribute | Description |
file | * |
Return:
* |
public getFileInfoFromFile(absolutePath: *): * source
Params:
Name | Type | Attribute | Description |
absolutePath | * |
Return:
* |
public isAssetLibraryLocation(filePath: *): * source
Params:
Name | Type | Attribute | Description |
filePath | * |
Return:
* |
public realSanitizeFilename(_filename: *): * source
Params:
Name | Type | Attribute | Description |
_filename | * |
Return:
* |