Package ubic.gemma.core.loader.util
Class ParserAndLoaderTools
java.lang.Object
ubic.gemma.core.loader.util.ParserAndLoaderTools
Utilities to be used by parsers and loaders.
- Author:
- keshav
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
Print content of map if debug is set to true.static Method
findParseLineMethod
(Object obj, String fileName) static void
loadDatabase
(Persister loader, Collection<?> col) User the loader to persist the collection.static void
objectsPersistedUpdate
(int count, int modulus, String objectName)
-
Field Details
-
log
protected static final org.apache.commons.logging.Log log
-
-
Constructor Details
-
ParserAndLoaderTools
public ParserAndLoaderTools()
-
-
Method Details
-
loadDatabase
User the loader to persist the collection.- Parameters:
loader
- loadercol
- collection
-
objectsPersistedUpdate
-
findParseLineMethod
- Throws:
NoSuchMethodException
-
debugMap
Print content of map if debug is set to true.- Parameters:
map
- map
-