Package org.molgenis.test
Class TestResourceUtils
- java.lang.Object
-
- org.molgenis.test.TestResourceUtils
-
public class TestResourceUtils extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetRenderedString(java.lang.Class<?> contextClass, java.lang.String resourceName)static java.lang.StringgetRenderedString(java.lang.Class<?> contextClass, java.lang.String resourceName, java.util.Map<java.lang.String,java.lang.String> model)static java.lang.StringgetString(java.lang.Class<?> contextClass, java.lang.String resourceName)Based on org.molgenis.util.ResourceUtils which can't be used here because of circular dependency issues.
-
-
-
Method Detail
-
getRenderedString
public static java.lang.String getRenderedString(java.lang.Class<?> contextClass, java.lang.String resourceName) throws java.io.IOException- Throws:
java.io.IOException
-
getRenderedString
public static java.lang.String getRenderedString(java.lang.Class<?> contextClass, java.lang.String resourceName, java.util.Map<java.lang.String,java.lang.String> model) throws java.io.IOException- Throws:
java.io.IOException
-
getString
public static java.lang.String getString(java.lang.Class<?> contextClass, java.lang.String resourceName) throws java.io.IOExceptionBased on org.molgenis.util.ResourceUtils which can't be used here because of circular dependency issues.- Throws:
java.io.IOException
-
-