Java resources are identified by classpath paths, which are unix-style, but the ResourceScanner returns paths from the local file system, which can be of any style (and, in particular, Windows-style). This makes it hard to work with the results as they are inconsistent. All paths returned by the ResourceScanner probably should be valid resource identifiers (ie usable as parameters to Class.getResource()).
Java resources are identified by classpath paths, which are unix-style, but the
ResourceScanner
returns paths from the local file system, which can be of any style (and, in particular, Windows-style). This makes it hard to work with the results as they are inconsistent. All paths returned by theResourceScanner
probably should be valid resource identifiers (ie usable as parameters toClass.getResource()
).