facebookjsonrestclient.html

来自「A Facebook API client implemented in Jav」· HTML 代码 · 共 458 行 · 第 1/5 页

HTML
458
字号
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Lookup a single preference value for the current user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.Map&lt;java.lang.Integer,java.lang.String&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#data_getUserPreferences()">data_getUserPreferences</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a map containing all preference values set for the current user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#data_setUserPreference(java.lang.Integer, java.lang.String)">data_setUserPreference</A></B>(java.lang.Integer&nbsp;prefId,                       java.lang.String&nbsp;value)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set a user-preference value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#data_setUserPreferences(java.util.Map, boolean)">data_setUserPreferences</A></B>(java.util.Map&lt;java.lang.Integer,java.lang.String&gt;&nbsp;values,                        boolean&nbsp;replace)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set multiple user-preferences values.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.util.List&lt;? extends java.lang.Object&gt;</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#executeBatch(boolean)">executeBatch</A></B>(boolean&nbsp;serial)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Executes a batch of queries.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#extractBoolean(java.lang.Object)">extractBoolean</A></B>(java.lang.Object&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extracts a Boolean from a result that consists of a Boolean only.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#extractInt(java.lang.Object)">extractInt</A></B>(java.lang.Object&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extracts an Integer from a result that consists of an Integer only.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;java.lang.Long</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#extractLong(java.lang.Object)">extractLong</A></B>(java.lang.Object&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extracts a Long from a result that consists of an Long only.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#extractString(java.lang.Object)">extractString</A></B>(java.lang.Object&nbsp;val)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extracts a String from a result consisting entirely of a String.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;java.net.URL</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#extractURL(java.lang.Object)">extractURL</A></B>(java.lang.Object&nbsp;url)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Extracts a URL from a result that consists of a URL only.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;org.json.JSONArray</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#friends_get()">friends_get</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieves the friends of the currently logged in user.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;org.json.JSONArray</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../com/google/code/facebookapi/FacebookJsonRestClient.html#getCacheFriendsList()">getCacheFriendsList</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the object's 'friendsList' property.</TD>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?