接口的使用
org.springframework.core.io.ProtocolResolver
使用ProtocolResolver的程序包 程序包 说明 org.springframework.context This package builds on the beans package to add support for message sources and for the Observer design pattern, and the ability for application objects to obtain resources using a consistent API.org.springframework.core.io Generic abstraction for (file-based) resources, used throughout the framework.org.springframework.context中ProtocolResolver的使用
参数类型为ProtocolResolver的org.springframework.context中的方法 修饰符和类型 方法 说明 void
ConfigurableApplicationContext. addProtocolResolver(ProtocolResolver resolver)
Register the given protocol resolver with this application context, allowing for additional resource protocols to be handled.org.springframework.core.io中ProtocolResolver的使用
返回变量类型为ProtocolResolver的类型的org.springframework.core.io中的方法 修饰符和类型 方法 说明 Collection<ProtocolResolver>
DefaultResourceLoader. getProtocolResolvers()
Return the collection of currently registered protocol resolvers, allowing for introspection as well as modification.参数类型为ProtocolResolver的org.springframework.core.io中的方法 修饰符和类型 方法 说明 void
DefaultResourceLoader. addProtocolResolver(ProtocolResolver resolver)
Register the given resolver with this resource loader, allowing for additional protocols to be handled.