限定符和类型 | 字段和说明 |
---|---|
protected Map<String,IocObject> |
objs |
maps
构造器和说明 |
---|
PropertiesIocLoader() |
PropertiesIocLoader(String... paths) |
限定符和类型 | 方法和说明 |
---|---|
String[] |
getName() |
boolean |
has(String name) |
IocObject |
load(IocLoading loading,
String name)
每次这个函数被调用,则要构造一个新的 IocObject
|
void |
reload() |
check, get, get, getBoolean, getBoolean, getInt, getInt, getKeys, getList, getList, getLong, getLong, getTrim, getTrim, getValues, joinAndClose, joinByKey, make, set, setIgnoreResourceNotFound, setPaths, toMap, toProperties, trim, trim
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keys, keySet, load, load, print, print, put, putAll, remove, size, values
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public PropertiesIocLoader()
public PropertiesIocLoader(String... paths)
public IocObject load(IocLoading loading, String name) throws ObjectLoadException
IocLoader
load
在接口中 IocLoader
ObjectLoadException
public boolean has(String name)
has
在接口中 IocLoader
has
在类中 PropertiesProxy
name
- 键public void reload()
Copyright © 2017. All rights reserved.