com.ebmwebsourcing.petalsview.service.dataloader
Interface Dataloader
- All Known Implementing Classes:
- DataLoaderImpl
@Transactional
public interface Dataloader
|
Method Summary |
void |
loadDataset(java.io.InputStream datasetStream)
Fill the database with information extracted from the given XML dataset,
provided as an InputStream. |
void |
loadDataSet(java.lang.String xmlDataSetURI)
Fill the database with information extracted from the given XML dataset,
referenced by the given URI String. |
loadDataSet
@Transactional
void loadDataSet(java.lang.String xmlDataSetURI)
throws DataLoaderException
- Fill the database with information extracted from the given XML dataset,
referenced by the given URI String. The dataset schema
(dragon-dataset.xsd) is included in the Dragon web app (in the
'WEB-INF/classes/dataset' folder).
- Parameters:
xmlDataSetURI - an URI String pointing on a xml dataset.
- Throws:
DataLoaderException - if an error occurs during dataset loading
loadDataset
@Transactional
void loadDataset(java.io.InputStream datasetStream)
throws DataLoaderException
- Fill the database with information extracted from the given XML dataset,
provided as an
InputStream. The dataset schema
(dragon-dataset.xsd) is included in the Dragon web app (in the
'WEB-INF/classes/dataset' folder).
- Parameters:
datasetStream -
- Throws:
DataLoaderException
Copyright © 2010 eBMWebsourcing. All Rights Reserved.