GeoLocation.html 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_161) on Thu Aug 16 18:54:14 JST 2018 -->
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  7. <title>Uses of Class twitter4j.GeoLocation (twitter4j-core 4.0.7 API)</title>
  8. <meta name="date" content="2018-08-16">
  9. <link rel="stylesheet" type="text/css" href="../../stylesheet.css" title="Style">
  10. <script type="text/javascript" src="../../script.js"></script>
  11. </head>
  12. <body>
  13. <script type="text/javascript"><!--
  14. try {
  15. if (location.href.indexOf('is-external=true') == -1) {
  16. parent.document.title="Uses of Class twitter4j.GeoLocation (twitter4j-core 4.0.7 API)";
  17. }
  18. }
  19. catch(err) {
  20. }
  21. //-->
  22. </script>
  23. <noscript>
  24. <div>JavaScript is disabled on your browser.</div>
  25. </noscript>
  26. <!-- ========= START OF TOP NAVBAR ======= -->
  27. <div class="topNav"><a name="navbar.top">
  28. <!-- -->
  29. </a>
  30. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  31. <a name="navbar.top.firstrow">
  32. <!-- -->
  33. </a>
  34. <ul class="navList" title="Navigation">
  35. <li><a href="../../overview-summary.html">Overview</a></li>
  36. <li><a href="../package-summary.html">Package</a></li>
  37. <li><a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">Class</a></li>
  38. <li class="navBarCell1Rev">Use</li>
  39. <li><a href="../package-tree.html">Tree</a></li>
  40. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  41. <li><a href="../../index-all.html">Index</a></li>
  42. <li><a href="../../help-doc.html">Help</a></li>
  43. </ul>
  44. </div>
  45. <div class="subNav">
  46. <ul class="navList">
  47. <li>Prev</li>
  48. <li>Next</li>
  49. </ul>
  50. <ul class="navList">
  51. <li><a href="../../index.html?twitter4j/class-use/GeoLocation.html" target="_top">Frames</a></li>
  52. <li><a href="GeoLocation.html" target="_top">No&nbsp;Frames</a></li>
  53. </ul>
  54. <ul class="navList" id="allclasses_navbar_top">
  55. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  56. </ul>
  57. <div>
  58. <script type="text/javascript"><!--
  59. allClassesLink = document.getElementById("allclasses_navbar_top");
  60. if(window==top) {
  61. allClassesLink.style.display = "block";
  62. }
  63. else {
  64. allClassesLink.style.display = "none";
  65. }
  66. //-->
  67. </script>
  68. </div>
  69. <a name="skip.navbar.top">
  70. <!-- -->
  71. </a></div>
  72. <!-- ========= END OF TOP NAVBAR ========= -->
  73. <div class="header">
  74. <h2 title="Uses of Class twitter4j.GeoLocation" class="title">Uses of Class<br>twitter4j.GeoLocation</h2>
  75. </div>
  76. <div class="classUseContainer">
  77. <ul class="blockList">
  78. <li class="blockList">
  79. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
  80. <caption><span>Packages that use <a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a></span><span class="tabEnd">&nbsp;</span></caption>
  81. <tr>
  82. <th class="colFirst" scope="col">Package</th>
  83. <th class="colLast" scope="col">Description</th>
  84. </tr>
  85. <tbody>
  86. <tr class="altColor">
  87. <td class="colFirst"><a href="#twitter4j">twitter4j</a></td>
  88. <td class="colLast">
  89. <div class="block">general package for Twitter4J</div>
  90. </td>
  91. </tr>
  92. <tr class="rowColor">
  93. <td class="colFirst"><a href="#twitter4j.api">twitter4j.api</a></td>
  94. <td class="colLast">
  95. <div class="block">APIs represents Twitter API resources</div>
  96. </td>
  97. </tr>
  98. </tbody>
  99. </table>
  100. </li>
  101. <li class="blockList">
  102. <ul class="blockList">
  103. <li class="blockList"><a name="twitter4j">
  104. <!-- -->
  105. </a>
  106. <h3>Uses of <a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a> in <a href="../../twitter4j/package-summary.html">twitter4j</a></h3>
  107. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
  108. <caption><span>Methods in <a href="../../twitter4j/package-summary.html">twitter4j</a> that return <a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a></span><span class="tabEnd">&nbsp;</span></caption>
  109. <tr>
  110. <th class="colFirst" scope="col">Modifier and Type</th>
  111. <th class="colLast" scope="col">Method and Description</th>
  112. </tr>
  113. <tbody>
  114. <tr class="altColor">
  115. <td class="colFirst"><code><a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a>[][]</code></td>
  116. <td class="colLast"><span class="typeNameLabel">Place.</span><code><span class="memberNameLink"><a href="../../twitter4j/Place.html#getBoundingBoxCoordinates--">getBoundingBoxCoordinates</a></span>()</code>&nbsp;</td>
  117. </tr>
  118. <tr class="rowColor">
  119. <td class="colFirst"><code><a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a></code></td>
  120. <td class="colLast"><span class="typeNameLabel">Status.</span><code><span class="memberNameLink"><a href="../../twitter4j/Status.html#getGeoLocation--">getGeoLocation</a></span>()</code>
  121. <div class="block">Returns The location that this tweet refers to if available.</div>
  122. </td>
  123. </tr>
  124. <tr class="altColor">
  125. <td class="colFirst"><code><a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a>[][]</code></td>
  126. <td class="colLast"><span class="typeNameLabel">Place.</span><code><span class="memberNameLink"><a href="../../twitter4j/Place.html#getGeometryCoordinates--">getGeometryCoordinates</a></span>()</code>&nbsp;</td>
  127. </tr>
  128. <tr class="rowColor">
  129. <td class="colFirst"><code><a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a></code></td>
  130. <td class="colLast"><span class="typeNameLabel">GeoQuery.</span><code><span class="memberNameLink"><a href="../../twitter4j/GeoQuery.html#getLocation--">getLocation</a></span>()</code>&nbsp;</td>
  131. </tr>
  132. <tr class="altColor">
  133. <td class="colFirst"><code><a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a></code></td>
  134. <td class="colLast"><span class="typeNameLabel">StatusUpdate.</span><code><span class="memberNameLink"><a href="../../twitter4j/StatusUpdate.html#getLocation--">getLocation</a></span>()</code>&nbsp;</td>
  135. </tr>
  136. </tbody>
  137. </table>
  138. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
  139. <caption><span>Methods in <a href="../../twitter4j/package-summary.html">twitter4j</a> with parameters of type <a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a></span><span class="tabEnd">&nbsp;</span></caption>
  140. <tr>
  141. <th class="colFirst" scope="col">Modifier and Type</th>
  142. <th class="colLast" scope="col">Method and Description</th>
  143. </tr>
  144. <tbody>
  145. <tr class="altColor">
  146. <td class="colFirst"><code><a href="../../twitter4j/Query.html" title="class in twitter4j">Query</a></code></td>
  147. <td class="colLast"><span class="typeNameLabel">Query.</span><code><span class="memberNameLink"><a href="../../twitter4j/Query.html#geoCode-twitter4j.GeoLocation-double-twitter4j.Query.Unit-">geoCode</a></span>(<a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a>&nbsp;location,
  148. double&nbsp;radius,
  149. <a href="../../twitter4j/Query.Unit.html" title="enum in twitter4j">Query.Unit</a>&nbsp;unit)</code>
  150. <div class="block">returns tweets by users located within a given radius of the given latitude/longitude, where the user's location is taken from their Twitter profile</div>
  151. </td>
  152. </tr>
  153. <tr class="rowColor">
  154. <td class="colFirst"><code><a href="../../twitter4j/Query.html" title="class in twitter4j">Query</a></code></td>
  155. <td class="colLast"><span class="typeNameLabel">Query.</span><code><span class="memberNameLink"><a href="../../twitter4j/Query.html#geoCode-twitter4j.GeoLocation-double-java.lang.String-">geoCode</a></span>(<a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a>&nbsp;location,
  156. double&nbsp;radius,
  157. <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;unit)</code>
  158. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
  159. <div class="block"><span class="deprecationComment">use <a href="../../twitter4j/Query.html#geoCode-twitter4j.GeoLocation-double-twitter4j.Query.Unit-"><code>Query.geoCode(GeoLocation, double, twitter4j.Query.Unit)</code></a> instead</span></div>
  160. </div>
  161. </td>
  162. </tr>
  163. <tr class="altColor">
  164. <td class="colFirst"><code><a href="../../twitter4j/StatusUpdate.html" title="class in twitter4j">StatusUpdate</a></code></td>
  165. <td class="colLast"><span class="typeNameLabel">StatusUpdate.</span><code><span class="memberNameLink"><a href="../../twitter4j/StatusUpdate.html#location-twitter4j.GeoLocation-">location</a></span>(<a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a>&nbsp;location)</code>&nbsp;</td>
  166. </tr>
  167. <tr class="rowColor">
  168. <td class="colFirst"><code>void</code></td>
  169. <td class="colLast"><span class="typeNameLabel">Query.</span><code><span class="memberNameLink"><a href="../../twitter4j/Query.html#setGeoCode-twitter4j.GeoLocation-double-twitter4j.Query.Unit-">setGeoCode</a></span>(<a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a>&nbsp;location,
  170. double&nbsp;radius,
  171. <a href="../../twitter4j/Query.Unit.html" title="enum in twitter4j">Query.Unit</a>&nbsp;unit)</code>
  172. <div class="block">returns tweets by users located within a given radius of the given latitude/longitude, where the user's location is taken from their Twitter profile</div>
  173. </td>
  174. </tr>
  175. <tr class="altColor">
  176. <td class="colFirst"><code>void</code></td>
  177. <td class="colLast"><span class="typeNameLabel">Query.</span><code><span class="memberNameLink"><a href="../../twitter4j/Query.html#setGeoCode-twitter4j.GeoLocation-double-java.lang.String-">setGeoCode</a></span>(<a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a>&nbsp;location,
  178. double&nbsp;radius,
  179. <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;unit)</code>
  180. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
  181. <div class="block"><span class="deprecationComment">use <a href="../../twitter4j/Query.html#setGeoCode-twitter4j.GeoLocation-double-twitter4j.Query.Unit-"><code>Query.setGeoCode(GeoLocation, double, twitter4j.Query.Unit)</code></a> instead</span></div>
  182. </div>
  183. </td>
  184. </tr>
  185. <tr class="rowColor">
  186. <td class="colFirst"><code>void</code></td>
  187. <td class="colLast"><span class="typeNameLabel">StatusUpdate.</span><code><span class="memberNameLink"><a href="../../twitter4j/StatusUpdate.html#setLocation-twitter4j.GeoLocation-">setLocation</a></span>(<a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a>&nbsp;location)</code>&nbsp;</td>
  188. </tr>
  189. </tbody>
  190. </table>
  191. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing constructors, and an explanation">
  192. <caption><span>Constructors in <a href="../../twitter4j/package-summary.html">twitter4j</a> with parameters of type <a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a></span><span class="tabEnd">&nbsp;</span></caption>
  193. <tr>
  194. <th class="colOne" scope="col">Constructor and Description</th>
  195. </tr>
  196. <tbody>
  197. <tr class="altColor">
  198. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/GeoQuery.html#GeoQuery-twitter4j.GeoLocation-">GeoQuery</a></span>(<a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a>&nbsp;location)</code>
  199. <div class="block">Creates a GeoQuery with the specified location</div>
  200. </td>
  201. </tr>
  202. <tr class="rowColor">
  203. <td class="colLast"><code><span class="memberNameLink"><a href="../../twitter4j/GeoQuery.html#GeoQuery-java.lang.String-java.lang.String-twitter4j.GeoLocation-">GeoQuery</a></span>(<a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;query,
  204. <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;ip,
  205. <a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a>&nbsp;location)</code>
  206. <div class="block">Creates a GeoQuery with the specified query, ip and location</div>
  207. </td>
  208. </tr>
  209. </tbody>
  210. </table>
  211. </li>
  212. <li class="blockList"><a name="twitter4j.api">
  213. <!-- -->
  214. </a>
  215. <h3>Uses of <a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a> in <a href="../../twitter4j/api/package-summary.html">twitter4j.api</a></h3>
  216. <table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
  217. <caption><span>Methods in <a href="../../twitter4j/api/package-summary.html">twitter4j.api</a> with parameters of type <a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a></span><span class="tabEnd">&nbsp;</span></caption>
  218. <tr>
  219. <th class="colFirst" scope="col">Modifier and Type</th>
  220. <th class="colLast" scope="col">Method and Description</th>
  221. </tr>
  222. <tbody>
  223. <tr class="altColor">
  224. <td class="colFirst"><code><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Location.html" title="interface in twitter4j">Location</a>&gt;</code></td>
  225. <td class="colLast"><span class="typeNameLabel">TrendsResources.</span><code><span class="memberNameLink"><a href="../../twitter4j/api/TrendsResources.html#getClosestTrends-twitter4j.GeoLocation-">getClosestTrends</a></span>(<a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a>&nbsp;location)</code>
  226. <div class="block">Returns the locations that Twitter has trending topic information for, closest to a specified location.<br>
  227. The response is an array of "locations" that encode the location's WOEID and some other human-readable information such as a canonical name and country the location belongs in.<br>
  228. A WOEID is a <a href="http://developer.yahoo.com/geo/geoplanet/">Yahoo! Where On Earth ID</a>.</div>
  229. </td>
  230. </tr>
  231. <tr class="rowColor">
  232. <td class="colFirst"><code><a href="../../twitter4j/ResponseList.html" title="interface in twitter4j">ResponseList</a>&lt;<a href="../../twitter4j/Place.html" title="interface in twitter4j">Place</a>&gt;</code></td>
  233. <td class="colLast"><span class="typeNameLabel">PlacesGeoResources.</span><code><span class="memberNameLink"><a href="../../twitter4j/api/PlacesGeoResources.html#getSimilarPlaces-twitter4j.GeoLocation-java.lang.String-java.lang.String-java.lang.String-">getSimilarPlaces</a></span>(<a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">GeoLocation</a>&nbsp;location,
  234. <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
  235. <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;containedWithin,
  236. <a href="http://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;streetAddress)</code>
  237. <div class="block">Locates places near the given coordinates which are similar in name.</div>
  238. </td>
  239. </tr>
  240. </tbody>
  241. </table>
  242. </li>
  243. </ul>
  244. </li>
  245. </ul>
  246. </div>
  247. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  248. <div class="bottomNav"><a name="navbar.bottom">
  249. <!-- -->
  250. </a>
  251. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  252. <a name="navbar.bottom.firstrow">
  253. <!-- -->
  254. </a>
  255. <ul class="navList" title="Navigation">
  256. <li><a href="../../overview-summary.html">Overview</a></li>
  257. <li><a href="../package-summary.html">Package</a></li>
  258. <li><a href="../../twitter4j/GeoLocation.html" title="class in twitter4j">Class</a></li>
  259. <li class="navBarCell1Rev">Use</li>
  260. <li><a href="../package-tree.html">Tree</a></li>
  261. <li><a href="../../deprecated-list.html">Deprecated</a></li>
  262. <li><a href="../../index-all.html">Index</a></li>
  263. <li><a href="../../help-doc.html">Help</a></li>
  264. </ul>
  265. </div>
  266. <div class="subNav">
  267. <ul class="navList">
  268. <li>Prev</li>
  269. <li>Next</li>
  270. </ul>
  271. <ul class="navList">
  272. <li><a href="../../index.html?twitter4j/class-use/GeoLocation.html" target="_top">Frames</a></li>
  273. <li><a href="GeoLocation.html" target="_top">No&nbsp;Frames</a></li>
  274. </ul>
  275. <ul class="navList" id="allclasses_navbar_bottom">
  276. <li><a href="../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  277. </ul>
  278. <div>
  279. <script type="text/javascript"><!--
  280. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  281. if(window==top) {
  282. allClassesLink.style.display = "block";
  283. }
  284. else {
  285. allClassesLink.style.display = "none";
  286. }
  287. //-->
  288. </script>
  289. </div>
  290. <a name="skip.navbar.bottom">
  291. <!-- -->
  292. </a></div>
  293. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  294. <p class="legalCopy"><small>Copyright &#169; 2018. All rights reserved.</small></p>
  295. </body>
  296. </html>