Open geoand opened 2 hours ago
I encountered a case where I need to replace something that contains Path with something that will use Resourcebut I really need to know to be able to get the contents of the directory - if it is one.
Path
Resource
The methods Resource#isDirectory()/Resource#openDirectoryStream() should work for this use case. Could you try it?
Resource#isDirectory()
Resource#openDirectoryStream()
That does the trick, thanks!
I encountered a case where I need to replace something that contains
Path
with something that will useResource
but I really need to know to be able to get the contents of the directory - if it is one.