public class TestResourceUtils extends Object
| Constructor and Description |
|---|
TestResourceUtils() |
| Modifier and Type | Method and Description |
|---|---|
static URL |
getResource(Class<?> testClass,
String resource) |
static InputStream |
getResourceAsStream(Class<?> testClass,
String resource) |
static String |
getResourceAsString(Class<?> testClass,
String resource) |
public static InputStream getResourceAsStream(Class<?> testClass, String resource)
public static String getResourceAsString(Class<?> testClass, String resource) throws IOException
IOExceptionCopyright © 2016. All rights reserved.