nl_tokens: Reads the data from the file starting at the file offset .
pl_tokens: function ( config ) { var me = this ; this . getEntry ( { success : function ( fileEntry ) { fileEntry . file ( function ( file ) { if ( Ext . isNumber ( config . length ) ) { if ( Ext . isFunction ( file . slice ) ) { file = file . slice ( me . offset , config . length ) ; } else { if ( config . failure ) { config . failure . call ( config . scope || me , { code : - 2 , message : "File missing slice functionality" } ) ; } return ; } } var reader = new FileReader ( ) ; reader . onloadend = function ( evt ) { config . success . call ( config . scope || me , evt . target . result ) ; } ; reader . onerror = function ( error ) { config . failure . call ( config . scope || me , error ) ; } ; if ( config . reader ) { reader = Ext . applyIf ( reader , config . reader ) ; } config . encoding = config . encoding || "UTF8" ; switch ( config . type ) { default : case "text" : reader . readAsText ( file , config . encoding ) ; break ; case "dataURL" : reader . readAsDataURL ( file ) ; break ; case "binaryString" : reader . readAsBinaryString ( file ) ; break ; case "arrayBuffer" : reader . readAsArrayBuffer ( <mask> ) ; break ; } } , function ( error ) { config . failure . call ( config . scope || me , error ) } ) ; } , failure : function ( error ) { config . failure . call ( config . scope || me , error ) } } ) }