|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectcom.baidu.sapi2.loginshare.FileStorage
public class FileStorage
文件存储管理器 使用"data/data/pkg_name/files/android_sapi_loginshare"作为存储文件。
方法摘要 | |
---|---|
void |
close()
关闭占用资源 |
boolean |
commit()
提交动作,调用本接口使内存数据固化到磁盘上 本接口比较耗时 |
org.json.JSONArray |
getJSONArray(String key)
Add by DongJian(2013-04-01) |
String |
getString(String key)
返回key对应的字符串值,如果不存在则返回空 |
void |
put(String key,
org.json.JSONArray array)
Add by DongJian(2013-04-01) |
void |
put(String key,
String value)
string |
从类 java.lang.Object 继承的方法 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
方法详细信息 |
---|
public void put(String key, String value)
IDataStorage
复制的描述
IDataStorage
中的 put
public String getString(String key)
IDataStorage
复制的描述
IDataStorage
中的 getString
public boolean commit()
IDataStorage
复制的描述
IDataStorage
中的 commit
public void close()
IDataStorage
复制的描述
IDataStorage
中的 close
public void put(String key, org.json.JSONArray array)
IDataStorage
中的 put
public org.json.JSONArray getJSONArray(String key)
IDataStorage
中的 getJSONArray
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |