I’m reading the official document of spring framework, and I’ve encountered a phrase in a paragraph that I don’t understand.
Here’s the context:
ClassPathResource
FileSystemResource
The confusing phrase is:
supports resolution as .
This appears in the following paragraph:
This Resource implementation supports resolution as a java.io.File if the class path resource resides in the file system but not for classpath resources that reside in a jar and have not been expanded (by the servlet engine or whatever the environment is) to the filesystem.
To address this, the various Resource implementations always support resolution as a java.net.URL.
I’ve already tried:
- asked chatGPT, still confused.
Any clarification would be greatly appreciated. Thanks in advance!