- java.lang.Object
-
- com.soebes.junit.jupiter.resources.ResourceFile
-
@API(status=EXPERIMENTAL, since="0.1.0") public class ResourceFile extends Object
- Author:
- Karl Heinz Marbaise
-
-
Constructor Summary
Constructors Constructor Description ResourceFile(ClassLoader classLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description File
get(String name)
(package private) ClassLoader
getClassLoader()
-
-
-
Constructor Detail
-
ResourceFile
ResourceFile(ClassLoader classLoader)
-
-
Method Detail
-
getClassLoader
ClassLoader getClassLoader()
-
get
public File get(String name)
- Parameters:
name
- The name of the resource you would like to get.- Returns:
- The
File
of the requested resource. - Throws:
ResourceNotFoundException
- in case of trying to access a resource which does not exist.
-
-