com.bstek.dorado.core.io
public interface ResourceLoader
| Modifier and Type | Method and Description |
|---|---|
java.lang.ClassLoader |
getClassLoader()
获取内部使用的
ResourceLoader在查找资源时使用的ClassLoader。 |
Resource |
getResource(java.lang.String resourceLocation)
根据资源路径获取相应的资源描述对象。
|
Resource[] |
getResources(java.lang.String locationPattern)
根据资源路径获取相应的资源描述对象的数组。
此处的资源路径可支持通配符,因此可以返回一个以上的资源描述对象。 |
Resource getResource(java.lang.String resourceLocation)
resourceLocation - 资源路径Resource,
ResourceLoaderResource[] getResources(java.lang.String locationPattern) throws java.io.IOException
locationPattern - 资源路径(可支持通配符)java.io.IOExceptionResource,
ResourceLoaderjava.lang.ClassLoader getClassLoader()
ResourceLoader在查找资源时使用的ClassLoader。ClassLoaderCopyright © 2001-2011 www.BSTEK.com All Rights Reserved.