Open cowchipkid opened 8 years ago
Hi @cowchipkid , I was just gonna change this line before I saw your comment since it is returning a null
pointer while testFileName
actually exists. Do you want us to keep the original way (i.e., using URLs)? Do you have any ideas about why it gives me a null
?
testFileName is expected to be a path within a jar file (or folder) that is in the JVM's class path. This will not find a file in the file system, unless it is in the classpath and under the directory structure reflected by the path in testFileName.
Thanks a lot, Tom!
Files on a file system can be represented in the same way documents within jar files can using a URI. This would make it easier to use normalize path separators. This would be a very big change.