public Map getHeaders()
       {
              Map lisOfHeader=new LinkedHashMap();
              FileInputStream file = null;
              try {
                     try {
                           file = new FileInputStream(new File("C:\\AEM-CQ-Automation\\AEM-CQ-Automation\\Ford\\ExcelToXml.xlsx"));
                     } catch (FileNotFoundException e) {
                           // TODO Auto-generated catch block
                           e.printStackTrace();
                     }

                     XSSFWorkbook workbook = null;
                     try {
                           workbook = new XSSFWorkbook(file);
                     } catch (IOException e) {
                           // TODO Auto-generated catch block
                            e.printStackTrace();
                     }
                     XSSFSheet sheet = workbook.getSheetAt(0);
                     Iterator<Row> rowIterator = sheet.iterator();
              
                     int count = 0;
                     int colCount=0;
                     Row row =  null;
                     while(rowIterator.hasNext())
                     {      
                           if(count>0)
                           {
                                  break;
                           }
                           row = rowIterator.next();
                           Iterator<Cell>celIterator=row.cellIterator();
                           while(celIterator.hasNext())
                           {
                                  Cell cell = celIterator.next();
                                  
                                  if(cell != null)
                                         if(cell.getCellType() != Cell.CELL_TYPE_BLANK)
                                         {
                                                if(cell.getCellType() == Cell.CELL_TYPE_STRING)
                                                {
                                                       lisOfHeader.put(colCount,cell.getStringCellValue());
                                                }             
                                         }
                                  colCount++;
                           }
                           count++;
                           row = rowIterator.next();
                     
                     }
              }
                     catch(Exception e)
                     {
                           e.printStackTrace();
                     }
                 return lisOfHeader;
       }