|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ebmwebsourcing.petalsview.service.dataloader.DataLoaderImpl
@Service(value="dataloader") public class DataLoaderImpl
| Constructor Summary | |
|---|---|
DataLoaderImpl()
|
|
| 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 xmlDataSetLocation)
Fill the database with information extracted from the given XML dataset, referenced by the given URI String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DataLoaderImpl()
| Method Detail |
|---|
public void loadDataSet(java.lang.String xmlDataSetLocation)
throws DataLoaderException
Dataloader
loadDataSet in interface DataloaderxmlDataSetLocation - an URI String pointing on a xml dataset.
DataLoaderException - if an error occurs during dataset loading
public void loadDataset(java.io.InputStream datasetStream)
throws DataLoaderException
DataloaderInputStream. The dataset schema
(dragon-dataset.xsd) is included in the Dragon web app (in the
'WEB-INF/classes/dataset' folder).
loadDataset in interface DataloaderDataLoaderException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||