Class ModelFileMerger


  • public final class ModelFileMerger
    extends java.lang.Object
    Methods for merging a model from a list of files.
    Author:
    Alex Kalderimis
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static Model mergeModelFromFiles​(java.io.File inputModelFile, java.util.List<java.lang.String> additionsFiles, ModelParser parser)
      Merges a model from a core model file and a list of additions files.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • mergeModelFromFiles

        public static Model mergeModelFromFiles​(java.io.File inputModelFile,
                                                java.util.List<java.lang.String> additionsFiles,
                                                ModelParser parser)
                                         throws MetaDataException
        Merges a model from a core model file and a list of additions files.
        Parameters:
        inputModelFile - The core.xml file for the model.
        additionsFiles - a list of genomic additions files names.
        parser - A parser to read the models.
        Returns:
        The merged Model
        Throws:
        MetaDataException - if the models are incorrect.