DroidExplorer.Core.AaptBrandingCommandResult.ProcessData C# (CSharp) Method

ProcessData() protected method

Processes the data.
protected ProcessData ( string data ) : void
data string The data.
return void
        protected override void ProcessData( string data )
        {
            base.ProcessData ( data );
            Regex regex = new Regex ( Properties.Resources.PackageIconRegexPattern, RegexOptions.Compiled | RegexOptions.IgnoreCase | RegexOptions.IgnorePatternWhitespace | RegexOptions.Singleline );
            Match m = regex.Match ( data );
            if ( m.Success ) {
                this.Package = m.Groups[1].Value;
                this.Version = m.Groups[2].Value;
                this.Label = m.Groups[3].Value;
                this.Icon = m.Groups[4].Value;
            }
        }