public class PropertiesBasePropertyResolver extends java.lang.Object implements PropertyResolver
| 构造器和说明 |
|---|
PropertiesBasePropertyResolver(java.util.Properties properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
containsProperty(java.lang.String key)
Check whether the given property key is available.
|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getProperty(java.lang.String key)
Return the property value associated with the given key,
or
null if the key cannot be resolved. |
int |
hashCode() |
public PropertiesBasePropertyResolver(java.util.Properties properties)
public boolean containsProperty(java.lang.String key)
PropertyResolvercontainsProperty 在接口中 PropertyResolverkey - the property name to resolvepublic java.lang.String getProperty(java.lang.String key)
PropertyResolvernull if the key cannot be resolved.getProperty 在接口中 PropertyResolverkey - the property name to resolvepublic boolean equals(java.lang.Object o)
equals 在类中 java.lang.Objectpublic int hashCode()
hashCode 在类中 java.lang.ObjectCopyright © 2019. All Rights Reserved.