how to get colomn names from DataTable in BufferedReader


It's my first work with knime nodes, I want to extract colomn names from DataTable in the bufferred Reader,

but i don't know how.


Hi, here is a code snippet which retrieves the column names of a DataTable or BufferedDataTable :

  BufferedDataTable myTable;
  String[] colNames = myTable.getDataTableSpec().getColumnNames();

Here you can get information about BufferedDataTableDataTableSpec  classes.


thanks arofab.