Modifier and Type | Field and Description |
---|---|
protected Map<String,IocObject> |
objs |
maps
Constructor and Description |
---|
PropertiesIocLoader() |
PropertiesIocLoader(String... paths) |
Modifier and Type | Method and Description |
---|---|
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
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public PropertiesIocLoader()
public PropertiesIocLoader(String... paths)
public String[] getName()
public IocObject load(IocLoading loading, String name) throws ObjectLoadException
IocLoader
load
in interface IocLoader
ObjectLoadException
public boolean has(String name)
has
in interface IocLoader
has
in class PropertiesProxy
name
- 键public void reload()
Copyright © 2017. All rights reserved.