String colName = resultMeta.getColumnName( j ); if( colName.matches( "\"\\w+\"" ) ) { colName = colName.replaceAll("\"", "\\\\\""); }  String newColName =  "row[\"" + colName + "\"]"; if( selectedColumns[i].equalsIgnoreCase( newColName ) ) { if( columnsMap == null ) columnsMap = new HashMap( ); columnsMap.put( new Integer(i), new Integer(j)); break; } } catch (BirtException be) { be.printStackTrace();
if ( columnsMap == null ) columnsMap = new HashMap( ); columnsMap.put( new Integer( i ), new Integer( j ) ); break;
	private void populateColumnsMap( )	{		if( resultMeta == null )			return ;				for( int i=0; i<selectedColumns.length; i++)		{			for( int j=1; j<=resultMeta.getColumnCount(); j++)			{				try				{					String colName = resultMeta.getColumnName( j );					if( colName.matches( "\"\\w+\"" ) )					{						colName = colName.replaceAll("\"", "\\\\\"");					}										String newColName =  "row[\"" + colName + "\"]";					if( selectedColumns[i].equalsIgnoreCase( newColName ) )					{						if( columnsMap == null )							columnsMap = new HashMap( );						columnsMap.put( new Integer(i), new Integer(j));						break;					}				}				catch (BirtException be)				{					be.printStackTrace();				}			}		}	}