Bug 361443 Excel ODA
data/org.eclipse.birt.report.data.oda.excel/src/org/eclipse/birt/report/data/oda/excel/impl/util/ExcelFileReader.java
}
	public static String getExtensionName(Object ri, String path ) throws OdaException
	{
		URI uri = ResourceLocatorUtil.resolvePath(ri, path);
		return getExtensionName( uri );
	}
	public static String getExtensionName( Object uri )
	{
		InputStream xlsxIs = null;
		InputStream xlsIs = null;
		try
		{
			xlsxIs = ResourceLocatorUtil.getURIStream( uri );
			new XlsxFileReader( xlsxIs );
			return ExcelODAConstants.XLSX_FORMAT;
		}
		catch ( Exception e )
		{
			try {
				xlsIs = ResourceLocatorUtil.getURIStream( uri );
				new HSSFWorkbook(xlsIs);
				return ExcelODAConstants.XLS_FORMAT;
			} catch (Exception e1) {
			}
		}
		finally
		{
			try {
				if (xlsIs != null)
				{