public interface Provider
| Modifier and Type | Method and Description |
|---|---|
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 © 2018 Ctrip, Inc.. All rights reserved.