private void writeHeaderLine(List<ExtensionProperty> propertyList,int totalColumns,ArchiveFile af,Writer writer) throws IOException {
  String[] headers=new String[totalColumns];
  headers[ID_COLUMN_INDEX]=ID_COLUMN_NAME;
  int c=1;
  for (  ExtensionProperty property : propertyList) {
    headers[c]=property.simpleName();
    c++;
  }
  String headerLine=tabRow(headers);
  af.setIgnoreHeaderLines(1);
  writer.write(headerLine);
}

private void writeHeaderLine ( List < ExtensionProperty > propertyList , int totalColumns , ArchiveFile af , Writer writer ) throws IOException { String [ ] headers = new String [ totalColumns ] ; headers [ ID_COLUMN_INDEX ] = ID_COLUMN_NAME ; int c = 1 ; for ( ExtensionProperty property : propertyList ) { headers [ c ] = property . simpleName ( ) ; c ++ ; } String headerLine = tabRow ( headers ) ; af . setIgnoreHeaderLines ( 1 ) ; writer . write ( headerLine ) ; }
write the header column line to file .
