ch.qos.logback.core.joran.action.Action Java Examples
The following examples show how to use
ch.qos.logback.core.joran.action.Action.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ApkVersionManager.java From FimiX8-RE with MIT License | 6 votes |
public void getAppSetting(final AppSettingListener appSettingListener) { CommonOkHttpClient.get(CommonRequest.createGetRequest(HostConstants.GET_APP_SETTING + "getAppSetting", getRequestParams()), new DisposeDataHandle(new DisposeDataListener() { public void onSuccess(Object responseObj) { NetModel netModel = (NetModel) JSON.parseObject(responseObj.toString(), NetModel.class); if (netModel.getData() != null) { ApkVersionManager.this.appSettingHashMap.clear(); try { Iterator<Object> iterator = JSON.parseArray(netModel.getData().toString()).iterator(); while (iterator.hasNext()) { JSONObject jsonObjectData = (JSONObject) iterator.next(); ApkVersionManager.this.appSettingHashMap.put(jsonObjectData.getString(Action.KEY_ATTRIBUTE), jsonObjectData.getString("value")); } appSettingListener.onAppSettingListener(); } catch (Exception e) { HostLogBack.getInstance().writeLog("Alanqiu ==============getAppSetting:" + e.getMessage()); } } } public void onFailure(Object reasonObj) { } })); }