Package org.hl7.fhir.utilities.tests
Interface ResourceLoaderTests
-
public interface ResourceLoaderTests
-
-
Field Summary
Fields Modifier and Type Field Description static StringPATH_DELIMITER
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static voidcopyResourceToFile(Class<?> clazz, Path target, String... resourcePath)default voidcopyResourceToFile(Path target, String... resourcePath)static InputStreamgetResourceAsInputStream(Class<?> clazz, String... resourcePath)default InputStreamgetResourceAsInputStream(String... resourcePath)
-
-
-
Field Detail
-
PATH_DELIMITER
static final String PATH_DELIMITER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getResourceAsInputStream
static InputStream getResourceAsInputStream(Class<?> clazz, String... resourcePath)
-
getResourceAsInputStream
default InputStream getResourceAsInputStream(String... resourcePath)
-
copyResourceToFile
default void copyResourceToFile(Path target, String... resourcePath) throws IOException
- Throws:
IOException
-
copyResourceToFile
static void copyResourceToFile(Class<?> clazz, Path target, String... resourcePath) throws IOException
- Throws:
IOException
-
-