Class ParserAndLoaderTools

java.lang.Object
ubic.gemma.core.loader.util.ParserAndLoaderTools

public class ParserAndLoaderTools extends Object
Utilities to be used by parsers and loaders.
Author:
keshav
  • Field Details

    • log

      protected static final org.apache.commons.logging.Log log
  • Constructor Details

    • ParserAndLoaderTools

      public ParserAndLoaderTools()
  • Method Details

    • loadDatabase

      public static void loadDatabase(Persister loader, Collection<?> col)
      User the loader to persist the collection.
      Parameters:
      loader - loader
      col - collection
    • objectsPersistedUpdate

      public static void objectsPersistedUpdate(int count, int modulus, String objectName)
    • findParseLineMethod

      public static Method findParseLineMethod(Object obj, String fileName) throws NoSuchMethodException
      Throws:
      NoSuchMethodException
    • debugMap

      public static void debugMap(Map<?,?> map)
      Print content of map if debug is set to true.
      Parameters:
      map - map