Creates a temporary copy of a resource in the classpath.
Creates a temporary copy of a resource in the classpath. This temporary copy is automatically deleted on program termination.
Path of the resource, e.g. "test.xml" if the resource is located in "project/src/test/resources/test.xml" in the source tree.
Path to the temporary copy.
Copy resources from the classpath as actual files into the temporary directory.