Class NatTableDataGenerator
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.dataset.generator.NatTableDataGenerator
-
public class NatTableDataGenerator extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NatTableDataGenerator.ColumnValueBean<T>
static class
NatTableDataGenerator.DoubleColumnValueBean
static class
NatTableDataGenerator.StringColumnValueBean
-
Constructor Summary
Constructors Constructor Description NatTableDataGenerator()
NatTableDataGenerator(int numCols, int numRows)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
getNumRows(String fileName)
TableDataProvider
loadData(String fileName)
static void
main(String[] args)
void
persistData(String fileName)
-
-
-
Method Detail
-
persistData
public void persistData(String fileName) throws IOException, GeneratorException
- Throws:
IOException
GeneratorException
-
getNumRows
public void getNumRows(String fileName) throws IOException
- Throws:
IOException
-
loadData
public TableDataProvider loadData(String fileName) throws FileNotFoundException, IOException
- Throws:
FileNotFoundException
IOException
-
main
public static void main(String[] args) throws GeneratorException, IOException
- Throws:
GeneratorException
IOException
-
-