get Resource File Runtime Copy
Method to get a copy of a resource file during the runtime. That copy will be deleted when the program terminates, this invoking the deleteOnExit method
Return
a copy of a resource file that will be deleted when the program terminates as File
Parameters
: the pathname of the resource to get
Throws
when an error occurred during the fetching of the resource
Method to get a copy of a resource file during the runtime. That copy will be deleted when the program terminates, this invoking the deleteOnExit method
Return
a copy of a resource file that will be deleted when the program terminates as File
Parameters
: the pathname of the resource to get
: the context class from get its classloader to reach the resources folder
the class type of the context e.g. MyCallingClass.class
Throws
when an error occurred during the fetching of the resource