ASCIITableHeader[] headerObjs = new ASCIITableHeader[0];
if (header != null && header.length > 0) {
headerObjs = new ASCIITableHeader[header.length];
for (int i = 0 ; i < header.length ; i ++) {
headerObjs[i] = new ASCIITableHeader(header[i], dataAlign, headerAlign);
}
}
return getTable(headerObjs, data);
}