public class TextDataSource extends AbstractDataSource
CSVDataSourceBuilder to configure and build one
of these, or the csvfile command in an eval script.CSVDataSourceBuilderlogger| Modifier and Type | Method and Description |
|---|---|
EventDAO |
getEventDAO()
Get an event DAO for this data source.
|
File |
getFile() |
EventFormat |
getFormat() |
ItemDAO |
getItemDAO()
Default item DAO implementation.
|
ItemNameDAO |
getItemNameDAO()
Get the item name DAO.
|
String |
getName()
Get the data source name.
|
PreferenceDomain |
getPreferenceDomain()
Get the preference domain of this data source.
|
long |
lastModified() |
String |
toString() |
configure, getItemEventDAO, getUserDAO, getUserEventDAOpublic String getName()
DataSourcepublic File getFile()
public EventFormat getFormat()
public PreferenceDomain getPreferenceDomain()
DataSourcepublic long lastModified()
public EventDAO getEventDAO()
DataSourcepublic ItemDAO getItemDAO()
AbstractDataSourceItemDAO, it is returned directly; otherwise, a new PrefetchingItemDAO
is created.getItemDAO in interface DataSourcegetItemDAO in class AbstractDataSourcepublic ItemNameDAO getItemNameDAO()
AbstractDataSourcegetItemNameDAO in interface DataSourcegetItemNameDAO in class AbstractDataSourcenull if none is defined.