public interface DataFileLoader
ReplacementDataSet.| Modifier and Type | Method and Description |
|---|---|
void |
addReplacementObjects(Map replacementObjects)
Add the specified replacement objects to existing ones for use with
ReplacementDataSet. |
void |
addReplacementSubstrings(Map replacementSubstrings)
Add the specified replacement substrings to existing ones for use with
ReplacementDataSet. |
IDataSet |
load(String fileName)
Load the specified String filename from the classpath into a dbUnit
dataset.
|
IDataSet |
loadDataSet(URL url)
Load the specified URL file into a dbUnit dataset.
|
void |
removeAllReplacementObjects()
Remove all existing replacement objects, resetting to none so no object
replacements occur.
|
void |
removeAllReplacementSubstrings()
Remove all existing replacement substring objects, resetting to none so
no substring replacements occur.
|
IDataSet load(String fileName)
DefaultDataSet. The type of dbUnit dataset
created is delegated to the implementing subclass.filename - The dbUnit file to load, in the format for the loader
implementation and fully qualified name with package syntax.DatabaseUnitRuntimeException - DataSetException wrapped in a DatabaseUnitRuntimeException
when file load errors occur.IDataSet loadDataSet(URL url) throws DataSetException, IOException
url - The dbUnit data file url.DataSetException - On data errors.IOException - On file errors.void addReplacementObjects(Map replacementObjects)
ReplacementDataSet.replacementObjects - The replacement objects to include.void addReplacementSubstrings(Map replacementSubstrings)
ReplacementDataSet.replacementSubstrings - The replacement substrings to include.void removeAllReplacementObjects()
void removeAllReplacementSubstrings()
Copyright © 2002-2017. All Rights Reserved.