I have read this post How to convert InputStream to FileInputStream on converting a InputStream into a FileInputStream. However, the answer does not work if you are using a resource that is in a jar file. Is there another way to do it.
I need to do this to get the FileChannel
from a call to
Object.class.getResourceAsStream(resourceName);