API Reference Box.File Class Defined in lib/box/file.js:6 Description The file object of the Box class. Constructor Box.File (box, source, path, type, params) Defined in lib/box/file.js:6 The file object of the Box class. Parameters box Box source String The full path of the file. path String The relative path of the file. type String params Object Methods read ([options], [callback]) async Defined in lib/box/file.js:27 Reads the file. Parameters options Object optional callback Function optional read ([options]) String Defined in lib/box/file.js:48 Reads the file synchronizedly. Parameters options Object optional Returns String render ([options], [callback]) async Defined in lib/box/file.js:80 Renders the file with renderers. Parameters options Object optional callback Function optional renderSync ([options]) String Defined in lib/box/file.js:101 Renders the file with renderers synchronizedly. Parameters options Object optional Returns String stat (callback) async Defined in lib/box/file.js:59 Gets the file status. Parameters callback Function statSync fs.Stats Defined in lib/box/file.js:70 Gets the file status synchronizedly. Returns fs.Stats