public interface Provider
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getProperty(String name,
String defaultValue)
Return the property value with the given name, or
defaultValue if the name doesn't exist. |
Class<? extends Provider> |
getType() |
void |
initialize()
Initialize the provider
|
String getProperty(String name, String defaultValue)
defaultValue if the name doesn't exist.name - the property namedefaultValue - the default value when name is not found or any error occurredvoid initialize()
Copyright © 2019 Ctrip, Inc.. All rights reserved.