|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataFileLoader
Defines a dbUnit data file loader supporting replacement objects and
substrings with ReplacementDataSet.
| Method Summary | |
|---|---|
void |
addReplacementObjects(java.util.Map replacementObjects)
Add the specified replacement objects to existing ones for use with ReplacementDataSet. |
void |
addReplacementSubstrings(java.util.Map replacementSubstrings)
Add the specified replacement substrings to existing ones for use with ReplacementDataSet. |
IDataSet |
load(java.lang.String fileName)
Load the specified filename from the classpath 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. |
| Method Detail |
|---|
IDataSet load(java.lang.String fileName)
DefaultDataSet.
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.void addReplacementObjects(java.util.Map replacementObjects)
ReplacementDataSet.
replacementObjects - The replacement objects to include.void addReplacementSubstrings(java.util.Map replacementSubstrings)
ReplacementDataSet.
replacementSubstrings - The replacement substrings to include.void removeAllReplacementObjects()
void removeAllReplacementSubstrings()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||