edu.uchsc.ccp.knowtator.util
Class MergeAnnotations
java.lang.Object
edu.uchsc.ccp.knowtator.util.MergeAnnotations
public class MergeAnnotations
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MergeAnnotations
public MergeAnnotations(Project addedProject,
Project masterProject,
TextSourceUtil masterTextSourceUtil,
Component parentComponent)
throws TextSourceAccessException
- This class facilitates the merging of an annotation project with a
'master' annotation project.
- Parameters:
addedProject
- - the project that will be added to the master project. This
project will not be modified. The .pont for this project
should be identical to that of the master project.masterProject
- - the project that the added project will be added to. This
project will be modified - all annotations from the added
project will be added. However, the project will not be saved
- so changes can be discarded if desired.
- Throws:
TextSourceAccessException
mergeAnnotations
public void mergeAnnotations(SimpleInstance addedFilter,
Collection<SimpleInstance> addedTextSources)
throws Exception
- Throws:
Exception
mergeAnnotations
public static void mergeAnnotations(Component parent,
Project masterProject,
TextSourceUtil masterTextSourceUtil)