public class GoogleStorageProtocolResolver extends Object implements org.springframework.core.io.ProtocolResolver, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.ResourceLoaderAware
ProtocolResolver
implementation for the gs://
protocol.Modifier and Type | Field and Description |
---|---|
static String |
PROTOCOL
The prefix of all storage locations.
|
Modifier and Type | Method and Description |
---|---|
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
org.springframework.core.io.Resource |
resolve(String location,
org.springframework.core.io.ResourceLoader resourceLoader) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
public static final String PROTOCOL
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
org.springframework.beans.BeansException
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader
in interface org.springframework.context.ResourceLoaderAware
public org.springframework.core.io.Resource resolve(String location, org.springframework.core.io.ResourceLoader resourceLoader)
resolve
in interface org.springframework.core.io.ProtocolResolver
Copyright © 2021. All rights reserved.