Class Index | File Index

Classes


Class CompressFiles

Compresses a list of assets based on assetID's and returns their paths.
Defined in: compressFiles.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
CompressFiles(src, dest)
Compresses a list of assets based on assetIDs and returns their paths.
Class Detail
CompressFiles(src, dest)
Compresses a list of assets based on assetIDs and returns their paths. Compresses files corresponding to the list of assetIDs in 'src' and returns paths to the compressed files. The path values are parsed into a text object keyed by AssetID from the JSON file in which they are contained, and by default are displayed to the user.
'MBurl'/wf/compressFiles?src=['AssetID']&dest=['PathToDestination']
http://127.0.0.1:55555/wf/compressFiles?src=["12345"]&dest=["Assets/Library/"]
Parameters:
src
AssetID/list of assetIDs to get the paths from and to compress.
dest
where to place compressed file. if blank default is /Compressed/
Returns:
( {'AssetID': "path",...} )

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Sep 30 2016 13:29:19 GMT-0500 (CDT)