org.camunda.bpm.extension.osgi.commands.asciitable
Interface IASCIITableAware


public interface IASCIITableAware

An ASCII table interface for extracting the header, data and formatted cell data.

Version:
1.0
Author:
K Venkata Sudhakar (kvenkatasudhakar@gmail.com)

Method Summary
 String formatData(ASCIITableHeader header, int row, int col, Object data)
          Returns the formatted data item for a particular cell.
 List<List<Object>> getData()
          Returns the data items to render.
 List<ASCIITableHeader> getHeaders()
          Returns the list of headers to render.
 

Method Detail

getHeaders

List<ASCIITableHeader> getHeaders()
Returns the list of headers to render.


getData

List<List<Object>> getData()
Returns the data items to render.


formatData

String formatData(ASCIITableHeader header,
                  int row,
                  int col,
                  Object data)
Returns the formatted data item for a particular cell. Return if you don't want to format the data. It uses String.valueOf(data) as cell value in that case.

Parameters:
header -
data -
Returns:


Copyright © 2015 camunda services GmbH. All rights reserved.