public final class EnvironmentContentProviderRepository extends java.lang.Object implements EnvironmentRepository
| Constructor and Description |
|---|
EnvironmentContentProviderRepository(android.content.Context context,
java.lang.String providerAuthority) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
getProperty(java.lang.String key,
T defaultValue)
Looks for an property in the current
Environment. |
public EnvironmentContentProviderRepository(android.content.Context context,
java.lang.String providerAuthority)
context - the current application Context.providerAuthority - the authority of the ContentProvider.public <T> T getProperty(java.lang.String key,
T defaultValue)
Environment.getProperty in interface EnvironmentRepositorykey - of the property to look for. The key is not CASE-SENSITIVE.defaultValue - the value to return if key is not found.Environment has not been loaded.