Package oms3.io
Interface CSTable
-
- All Known Implementing Classes:
MemoryTable
public interface CSTableComma separated table.- Author:
- Olaf David
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetColumnCount()get the number of columns in the tableMap<String,String>getColumnInfo(int column)Get the info for a column.StringgetColumnName(int column)Get the column name.Map<String,String>getInfo()Get the annotations for the tableStringgetName()Get the name of the tableIterable<String[]>rows()get the row iterator.Iterable<String[]>rows(int skipRow)get the row iterator and skip the first rows.
-
-
-
Method Detail
-
getName
String getName()
Get the name of the table- Returns:
- the name
-
getInfo
Map<String,String> getInfo()
Get the annotations for the table- Returns:
- the annotations for the propertyset.
-
getColumnInfo
Map<String,String> getColumnInfo(int column)
Get the info for a column.- Parameters:
column-- Returns:
- a map with KVP for column meta data.
-
getColumnName
String getColumnName(int column)
Get the column name.- Parameters:
column-- Returns:
- the column name.
-
getColumnCount
int getColumnCount()
get the number of columns in the table- Returns:
- the number of columns.
-
-