mirror of
https://bitbucket.org/akapribot/owm-japis.git
synced 2025-04-25 07:17:11 -07:00
2.5.0.2 is ready! There is always room for corrections. :-)
This commit is contained in:
parent
135ff2bf74
commit
c295549579
106 changed files with 2060 additions and 7535 deletions
|
@ -2,16 +2,16 @@
|
|||
<!-- NewPage -->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<!-- Generated by javadoc (version 1.7.0_17) on Sat Aug 10 23:46:35 IST 2013 -->
|
||||
<!-- Generated by javadoc (version 1.7.0_51) on Thu Jul 03 01:05:54 IST 2014 -->
|
||||
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
|
||||
<title>ForecastWeatherData.City (OpenWeatherMap.org JAPIs)</title>
|
||||
<meta name="date" content="2013-08-10">
|
||||
<title>ForecastWeatherData.City (OWM JAPIs Docs)</title>
|
||||
<meta name="date" content="2014-07-03">
|
||||
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
|
||||
</head>
|
||||
<body>
|
||||
<script type="text/javascript"><!--
|
||||
if (location.href.indexOf('is-external=true') == -1) {
|
||||
parent.document.title="ForecastWeatherData.City (OpenWeatherMap.org JAPIs)";
|
||||
parent.document.title="ForecastWeatherData.City (OWM JAPIs Docs)";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
@ -62,13 +62,13 @@
|
|||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_class_summary">Nested</a> | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
|
@ -102,23 +102,25 @@
|
|||
<br>
|
||||
<pre>public static class <span class="strong">ForecastWeatherData.City</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Parses data about city (from the JSON data)
|
||||
and provides methods to get/access the information.
|
||||
For example, city name, coordinates, country name, population, etc.
|
||||
This class provides <code>has</code> and <code>get</code> methods
|
||||
to access the information.
|
||||
|
||||
<p><code>has</code> methods can be used to check
|
||||
if the data exists, i.e., if the data was available (successfully
|
||||
downloaded) and was parsed correctly.
|
||||
|
||||
<p><code>get</code> methods can be used to access the data, if the data
|
||||
exists, otherwise <code>get</code> methods will give value as per
|
||||
<div class="block">Parses data about city (from the JSON data) and provides methods to
|
||||
get/access the information. For example, city name, coordinates, country
|
||||
name, population, etc. This class provides <code>has</code> and
|
||||
<code>get</code> methods to access the information.
|
||||
<p>
|
||||
<p>
|
||||
<code>has</code> methods can be used to check if the data exists, i.e.,
|
||||
if the data was available (successfully downloaded) and was parsed
|
||||
correctly.
|
||||
<p>
|
||||
<p>
|
||||
<code>get</code> methods can be used to access the data, if the data
|
||||
exists, otherwise <code>get</code> methods will give value as per
|
||||
following basis:<br>
|
||||
Boolean: <code>false</code><br>
|
||||
Integral: Minimum value (MIN_VALUE)<br>
|
||||
Floating point: Not a number (NaN)<br>
|
||||
Others: <code>null</code><br></div>
|
||||
Others: <code>null</code><br>
|
||||
<p></div>
|
||||
<dl><dt><span class="strong">Since:</span></dt>
|
||||
<dd>2.5.0.1</dd>
|
||||
<dt><span class="strong">Version:</span></dt>
|
||||
|
@ -146,81 +148,8 @@ extends java.lang.Object</pre>
|
|||
<tr class="altColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.City.Coord.html" title="class in net.aksingh.java.api.owm">ForecastWeatherData.City.Coord</a></strong></code>
|
||||
<div class="block">Parses data about geographic coordinates (from the JSON data)
|
||||
and provides methods to get/access the information.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- =========== FIELD SUMMARY =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_summary">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Summary</h3>
|
||||
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
||||
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
||||
<tr>
|
||||
<th class="colFirst" scope="col">Modifier and Type</th>
|
||||
<th class="colLast" scope="col">Field and Description</th>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>private long</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.City.html#cityID">cityID</a></strong></code>
|
||||
<div class="block">City code (ID)</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>private java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.City.html#cityName">cityName</a></strong></code>
|
||||
<div class="block">City name</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>private <a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.City.Coord.html" title="class in net.aksingh.java.api.owm">ForecastWeatherData.City.Coord</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.City.html#coord">coord</a></strong></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>private java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.City.html#countryCode">countryCode</a></strong></code>
|
||||
<div class="block">Country code of city</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>private java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.City.html#JSON_CITY_COORD">JSON_CITY_COORD</a></strong></code>
|
||||
<div class="block">Key for JSON object - Coordinates</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>private java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.City.html#JSON_CITY_COUNTRY_CODE">JSON_CITY_COUNTRY_CODE</a></strong></code>
|
||||
<div class="block">Key for JSON variable <code>Country code of city</code></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>private java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.City.html#JSON_CITY_ID">JSON_CITY_ID</a></strong></code>
|
||||
<div class="block">Key for JSON variable <code>City code (ID)</code></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>private java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.City.html#JSON_CITY_NAME">JSON_CITY_NAME</a></strong></code>
|
||||
<div class="block">Key for JSON variable <code>City name</code></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>private java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.City.html#JSON_CITY_POPULATION">JSON_CITY_POPULATION</a></strong></code>
|
||||
<div class="block">Key for JSON variable <code>Population of city</code></div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>private long</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.City.html#population">population</a></strong></code>
|
||||
<div class="block">Population of city</div>
|
||||
<div class="block">Parses data about geographic coordinates (from the JSON data) and
|
||||
provides methods to get/access the information.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -244,9 +173,7 @@ extends java.lang.Object</pre>
|
|||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><strong><a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.City.html#ForecastWeatherData.City(org.json.JSONObject)">ForecastWeatherData.City</a></strong>(org.json.JSONObject jsonObj)</code>
|
||||
<div class="block">Parameterized constructor
|
||||
|
||||
Initializes variables from values from the given JSON object.</div>
|
||||
<div class="block">Parameterized constructor</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -316,118 +243,6 @@ extends java.lang.Object</pre>
|
|||
<div class="details">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- ============ FIELD DETAIL =========== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="field_detail">
|
||||
<!-- -->
|
||||
</a>
|
||||
<h3>Field Detail</h3>
|
||||
<a name="JSON_CITY_COORD">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_CITY_COORD</h4>
|
||||
<pre>private final java.lang.String JSON_CITY_COORD</pre>
|
||||
<div class="block">Key for JSON object - Coordinates</div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.ForecastWeatherData.City.JSON_CITY_COORD">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_CITY_ID">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_CITY_ID</h4>
|
||||
<pre>private final java.lang.String JSON_CITY_ID</pre>
|
||||
<div class="block">Key for JSON variable <code>City code (ID)</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.ForecastWeatherData.City.JSON_CITY_ID">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_CITY_NAME">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_CITY_NAME</h4>
|
||||
<pre>private final java.lang.String JSON_CITY_NAME</pre>
|
||||
<div class="block">Key for JSON variable <code>City name</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.ForecastWeatherData.City.JSON_CITY_NAME">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_CITY_COUNTRY_CODE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_CITY_COUNTRY_CODE</h4>
|
||||
<pre>private final java.lang.String JSON_CITY_COUNTRY_CODE</pre>
|
||||
<div class="block">Key for JSON variable <code>Country code of city</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.ForecastWeatherData.City.JSON_CITY_COUNTRY_CODE">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_CITY_POPULATION">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_CITY_POPULATION</h4>
|
||||
<pre>private final java.lang.String JSON_CITY_POPULATION</pre>
|
||||
<div class="block">Key for JSON variable <code>Population of city</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.ForecastWeatherData.City.JSON_CITY_POPULATION">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="cityID">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>cityID</h4>
|
||||
<pre>private final long cityID</pre>
|
||||
<div class="block">City code (ID)</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="cityName">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>cityName</h4>
|
||||
<pre>private final java.lang.String cityName</pre>
|
||||
<div class="block">City name</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="countryCode">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>countryCode</h4>
|
||||
<pre>private final java.lang.String countryCode</pre>
|
||||
<div class="block">Country code of city</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="population">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>population</h4>
|
||||
<pre>private final long population</pre>
|
||||
<div class="block">Population of city</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="coord">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>coord</h4>
|
||||
<pre>private final <a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.City.Coord.html" title="class in net.aksingh.java.api.owm">ForecastWeatherData.City.Coord</a> coord</pre>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
|
@ -442,8 +257,9 @@ extends java.lang.Object</pre>
|
|||
<h4>ForecastWeatherData.City</h4>
|
||||
<pre>public ForecastWeatherData.City()</pre>
|
||||
<div class="block">Non-parameterized constructor
|
||||
|
||||
<p>Initializes variables as per following basis:<br>
|
||||
<p>
|
||||
<p>
|
||||
Initializes variables as per following basis:<br>
|
||||
Boolean: <code>false</code><br>
|
||||
Integral: Minimum value (MIN_VALUE)<br>
|
||||
Floating point: Not a number (NaN)<br>
|
||||
|
@ -458,8 +274,9 @@ extends java.lang.Object</pre>
|
|||
<h4>ForecastWeatherData.City</h4>
|
||||
<pre>public ForecastWeatherData.City(org.json.JSONObject jsonObj)</pre>
|
||||
<div class="block">Parameterized constructor
|
||||
|
||||
Initializes variables from values from the given JSON object.</div>
|
||||
<p>
|
||||
Initializes variables from values from the given JSON object.
|
||||
<p></div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jsonObj</code> - JSON object containing data about city</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -603,13 +420,13 @@ extends java.lang.Object</pre>
|
|||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li><a href="#nested_class_summary">Nested</a> | </li>
|
||||
<li><a href="#field_summary">Field</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_summary">Constr</a> | </li>
|
||||
<li><a href="#method_summary">Method</a></li>
|
||||
</ul>
|
||||
<ul class="subNavList">
|
||||
<li>Detail: </li>
|
||||
<li><a href="#field_detail">Field</a> | </li>
|
||||
<li>Field | </li>
|
||||
<li><a href="#constructor_detail">Constr</a> | </li>
|
||||
<li><a href="#method_detail">Method</a></li>
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue