We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
原文:https://github.com/xuchengsheng/spring-reading/blob/master/spring-resources/spring-resource-resourcePatternResolver/README.md
在对 ResourcePatternResolver 进行讲解时,「四、主要功能」-「2. 资源获取」部分,提到了「通过 getResource(Resource location) 方法」,我查看了一下 Spring 源码,似乎没有这个方法呀,只有 getResource(String locationPattern) 一个重载方法
getResource(Resource location)
getResource(String locationPattern)
The text was updated successfully, but these errors were encountered:
我在文章中写的是getResources(String locationPattern)方法。而你提出的问题是getResource(Resource location) 方法少了一个“s”。另外我检查文章似乎没有问题。是否可以给出更新详细的信息呢。最后我检查了ResourcePatternResolver接口的确是有getResources(String locationPattern)方法方法的。
Sorry, something went wrong.
抱歉我确实漏掉了一个 s,我想表达的是没有在源码中找到传参为 Resource 类型的 getResources 重载方法
xuchengsheng
No branches or pull requests
原文:https://github.com/xuchengsheng/spring-reading/blob/master/spring-resources/spring-resource-resourcePatternResolver/README.md
在对 ResourcePatternResolver 进行讲解时,「四、主要功能」-「2. 资源获取」部分,提到了「通过
getResource(Resource location)
方法」,我查看了一下 Spring 源码,似乎没有这个方法呀,只有getResource(String locationPattern)
一个重载方法The text was updated successfully, but these errors were encountered: