public class LoadAlignmentAdvisor extends ConfigurationIOAdvisor<AlignmentReader>
IOConfiguration
.Constructor and Description |
---|
LoadAlignmentAdvisor(IOConfiguration conf,
TypeIndex sourceSchema,
TypeIndex targetSchema,
PathUpdate updater)
Create an advisor for loading an alignment based on the given I/O
configuration.
|
Modifier and Type | Method and Description |
---|---|
Alignment |
getAlignment()
Get the loaded alignment.
|
void |
handleResults(AlignmentReader provider)
Process the results after the execution.
|
void |
prepareProvider(AlignmentReader provider)
Prepare the I/O provider when it is created.
|
setConfiguration
getService, setServiceProvider, updateConfiguration
public LoadAlignmentAdvisor(IOConfiguration conf, TypeIndex sourceSchema, TypeIndex targetSchema, PathUpdate updater)
conf
- the I/O configurationsourceSchema
- the source schematargetSchema
- the target schemaupdater
- the path updaterpublic void prepareProvider(AlignmentReader provider)
IOAdvisor
prepareProvider
in interface IOAdvisor<AlignmentReader>
prepareProvider
in class ConfigurationIOAdvisor<AlignmentReader>
provider
- the I/O providerConfigurationIOAdvisor.prepareProvider(IOProvider)
public void handleResults(AlignmentReader provider)
IOAdvisor
handleResults
in interface IOAdvisor<AlignmentReader>
handleResults
in class AbstractIOAdvisor<AlignmentReader>
provider
- the I/O providerAbstractIOAdvisor.handleResults(IOProvider)
public Alignment getAlignment()
null
if it was not loaded or
loading failedBuild 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a