public class SDRFConverter<O> extends AbstractConverter<SDRF,O>
Constructor and Description |
---|
SDRFConverter() |
Modifier and Type | Method and Description |
---|---|
void |
convert(SDRF sdrf,
O outputResource)
Converts source objects into target objects.
|
void |
convert(SDRF sdrf,
O outputResource,
ExecutorService service)
Perform validation of the supplied validator source, delegating all work to the supplied Executor Service to
enable validation in parallel.
|
addErrorItemListener, addProgressListener, fireConversionCompletedEvent, fireConversionEvent, fireConversionFailedEvent, fireConversionStartedEvent, fireErrorItemEvent, getErrorItemListeners, getProgressListeners, removeErrorItemListener, removeProgressListener
public void convert(SDRF sdrf, O outputResource) throws ConversionException
Converter
sdrf
- the source objects to convertoutputResource
- the resulting target objectsConversionException
- if the sourcepublic void convert(SDRF sdrf, O outputResource, ExecutorService service) throws ConversionException, InterruptedException
Converter
sdrf
- the datamodel objects to convert fromoutputResource
- the type of object data is being converted intoservice
- the service to use to execute conversion tasksConversionException
- if the supplied source could not be convertedInterruptedException
- if execution of a task sent to the Executor Service was interrruptedCopyright © 2014. All rights reserved.