nl_tokens: Creates or looks up a file .
pl_tokens: function ( config ) { if ( config . path == null ) { Ext . Logger . <mask> ( 'Ext.device.filesystem.DirectoryEntry#getFile: You must specify a `path` of the file.' ) ; return null ; } if ( config . options == null ) { config . options = { } ; } var me = this ; Ext . device . Communicator . send ( { command : 'FileSystem#getEntry' , path : this . path , fileSystemId : this . fileSystem . id , newPath : config . path , directory : config . directory , create : config . options . create , exclusive : config . options . exclusive , callbacks : { success : function ( path ) { if ( config . success ) { var entry = config . directory ? Ext . create ( 'Ext.device.filesystem.DirectoryEntry' , path , me . fileSystem ) : Ext . create ( 'Ext.device.filesystem.FileEntry' , path , me . fileSystem ) ; config . success . call ( config . scope || this , entry ) ; } } , failure : function ( error ) { if ( config . failure ) { config . failure . call ( config . scope || this , error ) ; } } } , scope : config . scope || this } ) ; }