/*** * It puts together top, middle and bottom and updates the final String object. **/ private void joinTopMiddleBottom(StringBuilder th, ITableItemStrategy item) { if(!"".equals(th.toString())){ th.insert(0, item.getTop()); th.append(item.getBottom()); } String finalResult = setUpRepeatTableHeaderOnEveryPage(th); txt.append(finalResult);//final result appended }
/*** * It puts together top, middle and bottom and updates the final String object. **/ private void joinTopMiddleBottom(StringBuilder th, ITableItemStrategy item) { if(!"".equals(th.toString())){ th.insert(0, item.getTop()); th.append(item.getBottom()); } String finalResult = setUpRepeatTableHeaderOnEveryPage(th); txt.append(finalResult);//final result appended }