public class CSDKEnvironment extends Object implements csdk.v2.api.core.ICSDKEnvironment
| Constructor and Description |
|---|
CSDKEnvironment(Map<Class<? extends csdk.v2.api.core.IContext>,csdk.v2.api.core.IContext> contexts)
Construtor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
Limpa os contextos.
|
void |
finishApplication() |
Charset |
getCharset() |
<T extends csdk.v2.api.core.IContext> |
getContext(Class<T> contextClass)
Obtém o contexto da aplicação a partir da classe que o implementa.
|
Locale |
getLocale() |
Charset |
getServerCharset() |
void |
handleException(Exception error,
Window parent) |
public void finishApplication()
finishApplication in interface csdk.v2.api.core.ICSDKEnvironmentpublic <T extends csdk.v2.api.core.IContext> T getContext(Class<T> contextClass)
getContext in interface csdk.v2.api.core.ICSDKEnvironmentcontextClass - a classe do contexto.public void handleException(Exception error, Window parent)
handleException in interface csdk.v2.api.core.ICSDKEnvironmentpublic void cleanup()
public Locale getLocale()
getLocale in interface csdk.v2.api.core.ICSDKEnvironmentpublic Charset getServerCharset()
getServerCharset in interface csdk.v2.api.core.ICSDKEnvironmentpublic Charset getCharset()
getCharset in interface csdk.v2.api.core.ICSDKEnvironmentCopyright © 2017. All rights reserved.