public DataSetOperation(String dataSetLocation, DatabaseOperation operation) {
// Load the base dataset file
InputStream input = Thread.currentThread().getContextClassLoader().getResourceAsStream(dataSetLocation);
try {
this.dataSet = new ReplacementDataSet( new FlatXmlDataSet(input) );
} catch (Exception ex) {
throw new RuntimeException("Could not load dataset for import: " + dataSetLocation, ex);
}
this.dataSet.addReplacementObject("[NULL]", null);
this.dataSet.addReplacementSubstring("[BINARY_DIR]", getBinaryDirFullpath());