类 ResourceLoaderUtils
- java.lang.Object
-
- io.microsphere.util.BaseUtils
-
- io.microsphere.spring.util.ResourceLoaderUtils
-
public abstract class ResourceLoaderUtils extends io.microsphere.util.BaseUtilsThe utilities class for SpringResourceLoader- 从以下版本开始:
- 1.0.0
- 作者:
- Mercy
- 另请参阅:
ResourceLoader
-
-
构造器概要
构造器 构造器 说明 ResourceLoaderUtils()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 protected static java.lang.ClassLoadergetClassLoader(org.springframework.core.io.ResourceLoader resourceLoader)static org.springframework.core.io.ResourceLoadergetResourceLoader()Get the instance ofResourceLoaderassociatingthe default ClassLoaderstatic org.springframework.core.io.ResourceLoadergetResourceLoader(java.lang.ClassLoader classLoader)Get the instance ofResourceLoaderassociating the specified ClassLoaderstatic org.springframework.core.io.support.ResourcePatternResolvergetResourcePatternResolver()Get the instance ofResourcePatternResolverassociatingthe default ClassLoaderstatic org.springframework.core.io.support.ResourcePatternResolvergetResourcePatternResolver(org.springframework.core.io.ResourceLoader resourceLoader)Get the instance ofResourcePatternResolverfrom the specifiedResourceLoader
-
-
-
方法详细资料
-
getResourceLoader
@Nonnull public static org.springframework.core.io.ResourceLoader getResourceLoader()
Get the instance ofResourceLoaderassociatingthe default ClassLoader- 返回:
- non-null
-
getResourceLoader
@Nonnull public static org.springframework.core.io.ResourceLoader getResourceLoader(@Nullable java.lang.ClassLoader classLoader)Get the instance ofResourceLoaderassociating the specified ClassLoader- 参数:
classLoader- nullableClassLoader- 返回:
- non-null
-
getResourcePatternResolver
@Nonnull public static org.springframework.core.io.support.ResourcePatternResolver getResourcePatternResolver()
Get the instance ofResourcePatternResolverassociatingthe default ClassLoader- 返回:
- non-null
-
getResourcePatternResolver
@Nonnull public static org.springframework.core.io.support.ResourcePatternResolver getResourcePatternResolver(@Nullable org.springframework.core.io.ResourceLoader resourceLoader)Get the instance ofResourcePatternResolverfrom the specifiedResourceLoader- 参数:
resourceLoader- nullableResourceLoader- 返回:
- non-null
-
getClassLoader
protected static java.lang.ClassLoader getClassLoader(@Nullable org.springframework.core.io.ResourceLoader resourceLoader)
-
-