Create a temporary file from the given (resource) path.
Create a temporary file from the given (resource) path. The tempfile is deleted on JVM exit.
Note, due to the usage of File.deleteOnExit()
callers should
be careful using this as it can leak memory.
See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4513817 for
example.
the Class
to use for getting the resource.
the resource-relative path to make a temp file from
the temp File object
Create a temporary file from the given (resource) path.
Create a temporary file from the given (resource) path. The tempfile is deleted on JVM exit.
Note, due to the usage of File.deleteOnExit()
callers should
be careful using this as it can leak memory.
See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4513817 for
example.
the resource-relative path to make a temp file from
the temp File object