类的使用
cn.taketoday.core.io.EncodedResource
使用EncodedResource的程序包
-
cn.taketoday.core.io中EncodedResource的使用
参数类型为EncodedResource的cn.taketoday.core.io中的方法修饰符和类型方法说明DefaultPropertySourceFactory.createPropertySource(String name, EncodedResource resource) PropertySourceFactory.createPropertySource(String name, EncodedResource resource) Create aPropertySourcethat wraps the given resource.(专用程序包) static voidPropertiesUtils.fillProperties(Properties props, EncodedResource resource, PropertiesPersister persister) Actually load properties from the given EncodedResource into the given Properties instance.static PropertiesPropertiesUtils.loadProperties(EncodedResource resource) Load properties from the given EncodedResource, potentially defining a specific encoding for the properties file.参数类型为EncodedResource的cn.taketoday.core.io中的构造器限定符构造器说明ResourcePropertySource(EncodedResource resource) Create a PropertySource based on Properties loaded from the given resource.ResourcePropertySource(String name, EncodedResource resource) Create a PropertySource having the given name based on Properties loaded from the given encoded resource.