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 voidPrint content of map if debug is set to true.static MethodfindParseLineMethod(Object obj, String fileName) static voidloadDatabase(Persister loader, Collection<?> col) User the loader to persist the collection.static voidobjectsPersistedUpdate(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
-