borland Packages Class Hierarchy jbcl.dataset Package Index
java.lang.Object +----borland.jbcl.dataset.DataFile +----borland.jbcl.dataset.TextDataFile
Properties Methods
Implements Serializable
This class collects the basic behavior of all file-based data sources: loading data from and writing data to a file. These operations are often referred to as importing and exporting.
Extend this base class when creating new classes to define a custom file format that you want to import data from, or export data to.
The JBCL TextDataFile component extends this class. It provides the ability to read data from a text file into the TableDataSet component, and to save data stored in any StorageDataSet class object to a text file. Its properties specify how the data is organized in the text file.
public abstract boolean isLoadOnOpen()If true, the StorageDataSet will automatically load from the DataFile when the StorageDataSet is opened.
public abstract void load(borland.jbcl.dataset.DataSet dataSet)Loads data into the DataSet. Implementations of this method do not need to synchronize on the dataSet parameter if the asynchronous StorageDataSet methods of startLoading(), loadRow(), and endLoading() are called.
public abstract void loadMetaData(borland.jbcl.dataset.DataSet dataSet)Implementor should load information and determine the columns of the DataFile.
public abstract void save(borland.jbcl.dataset.DataSet dataSet)Saves the data in the DataSet.