IBirtPreviewConstants.SUFFIX_DESIGN_FILE, IBirtPreviewConstants.SUFFIX_DESIGN_CONFIG );
SUFFIX_DESIGN_FILE, SUFFIX_DESIGN_CONFIG);
	private Map getConfigVars( )	{		HashMap configVars = new HashMap( );		String reportDesignName = this.getFileUri( );		// get design config file name		String configFileName = reportDesignName.replaceFirst(				IBirtPreviewConstants.SUFFIX_DESIGN_FILE,				IBirtPreviewConstants.SUFFIX_DESIGN_CONFIG );		try		{			// Generate the session handle			SessionHandle sessionHandle = DesignEngine.newSession( ULocale.getDefault( ) );			File configFile = new File( configFileName );			// if config file existed, then delete it			if ( configFile != null && configFile.exists( )					&& configFile.isFile( ) )			{				ReportDesignHandle handle = sessionHandle						.openDesign( configFileName );				Iterator it = handle.configVariablesIterator( );				while ( it.hasNext( ) )				{					ConfigVariableHandle configVar = (ConfigVariableHandle) it							.next( );					if ( configVar != null && configVar.getName( ) != null )					{						configVars.put( configVar.getName( ), configVar								.getValue( ) );					}				}			}		}		catch ( DesignFileException e )		{			// TODO Auto-generated catch block			e.printStackTrace( );		}		return configVars;	}