public class TextDataSource extends AbstractDataSource
CSVDataSourceBuilder
to configure and build one
of these, or the csvfile
command in an eval script.CSVDataSourceBuilder
logger
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, getUserEventDAO
public String getName()
DataSource
public File getFile()
public EventFormat getFormat()
public PreferenceDomain getPreferenceDomain()
DataSource
public long lastModified()
public EventDAO getEventDAO()
DataSource
public ItemDAO getItemDAO()
AbstractDataSource
ItemDAO
, it is returned directly; otherwise, a new PrefetchingItemDAO
is created.getItemDAO
in interface DataSource
getItemDAO
in class AbstractDataSource
public ItemNameDAO getItemNameDAO()
AbstractDataSource
getItemNameDAO
in interface DataSource
getItemNameDAO
in class AbstractDataSource
null
if none is defined.