nl_tokens: Lists all the entries in the directory .
pl_tokens: function ( config ) { if ( ! config . success ) { Ext . Logger . error ( 'Ext.device.filesystem.DirectoryEntry#readEntries: You must specify a `success` callback.' ) ; return null ; } var me = this ; Ext . device . Communicator . send ( { command : 'FileSystem#readEntries' , path : this . path , fileSystemId : this . fileSystem . id , callbacks : { success : function ( entryInfos ) { var entries = entryInfos . map ( function ( entryInfo ) { return entryInfo . directory ? Ext . create ( 'Ext.device.filesystem.DirectoryEntry' , entryInfo . path , me . fileSystem ) : Ext . create ( 'Ext.device.filesystem.FileEntry' , entryInfo . path , me . fileSystem ) ; } ) ; config . success . <mask> ( config . scope || this , entries ) ; } , failure : function ( error ) { if ( config . failure ) { config . failure . call ( config . scope || this , error ) ; } } } , scope : config . scope || this } ) ; }