|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.common.core.io.impl.AbstractIOAdvisor<T>
eu.esdihumboldt.hale.common.core.io.impl.ConfigurationIOAdvisor<AlignmentReader>
eu.esdihumboldt.hale.common.align.io.impl.LoadAlignmentAdvisor
public class LoadAlignmentAdvisor
Advisor for loading an alignment using an existing IOConfiguration
.
Constructor Summary | |
---|---|
LoadAlignmentAdvisor(IOConfiguration conf,
TypeIndex sourceSchema,
TypeIndex targetSchema)
Create an advisor for loading an alignment based on the given I/O configuration. |
Method Summary | |
---|---|
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. |
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.ConfigurationIOAdvisor |
---|
setConfiguration |
Methods inherited from class eu.esdihumboldt.hale.common.core.io.impl.AbstractIOAdvisor |
---|
updateConfiguration |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoadAlignmentAdvisor(IOConfiguration conf, TypeIndex sourceSchema, TypeIndex targetSchema)
conf
- the I/O configurationsourceSchema
- the source schematargetSchema
- the target schemaMethod Detail |
---|
public 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 failed
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |