Package org.mycore.mets.model.converter
Class MCRMetsTestUtil
java.lang.Object
org.mycore.mets.model.converter.MCRMetsTestUtil
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MCRMetsSimpleModel
static <T,
R> List<R> bulk
(MCRMetsTestUtil.BulkOperation<T, R> op, T... on) static <T> boolean
comparer
(Comparator<T> comparator, T object, T... withList) static Properties
static <T> T
instantiate
(String className, Class<T> type) static String
readJsonFile
(String path) static Document
readXMLFile
(String path)
-
Constructor Details
-
MCRMetsTestUtil
public MCRMetsTestUtil()
-
-
Method Details
-
readJsonFile
- Throws:
IOException
-
readXMLFile
- Throws:
JDOMException
IOException
-
getProperties
-
instantiate
-
comparer
-
bulk
-
buildMetsSimpleModel
-