public class DataToolT
extends java.lang.Object
Constructor and Description |
---|
DataToolT() |
Modifier and Type | Method and Description |
---|---|
static DataTable |
loadFromFile(java.lang.String strFileName)
Creates a data table by loading data from file.
|
static boolean |
saveToFile(java.lang.String strFileName,
DataTable dt)
Saves a data table into into a file by dumping it into properties.
|
public static DataTable loadFromFile(java.lang.String strFileName) throws DataTableException
strFileName
- - File name.DataTableException
- .public static boolean saveToFile(java.lang.String strFileName, DataTable dt) throws DataTableException
strFileName
- - File name.dt
- - The data table to be saved.DataTableException
- .