For example, to create a data set that substitutes all occurrences of "(NULL)" with null
, and loads CLOBs from files in the class path, you could use:
ValueReplacerTableDecorator decorator = new ValueReplacerTableDecorator(); decorator.addValueReplacer(new LiteralValueReplacer("(NULL)", null)); decorator.addValueReplacer(new ClobValueReplacer()); IDataSet dataSet = null; DecoratorDataSet decoratorDataSet = new DecoratorDataSet(dataSet); decoratorDataSet.addDecorator(decorator);@see TableDecorator
|
|