1
0
Fork 0
mirror of https://bitbucket.org/ethauvin/owm-japis.git synced 2025-04-25 17:57:11 -07:00

2.5.0.2 is ready! There is always room for corrections. :-)

This commit is contained in:
Ashutosh Kumar Singh 2014-07-03 01:08:06 +05:30
parent 135ff2bf74
commit c295549579
106 changed files with 2060 additions and 7535 deletions

View file

@ -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>DailyForecastData.Forecast (OpenWeatherMap.org JAPIs)</title>
<meta name="date" content="2013-08-10">
<title>DailyForecastData.Forecast (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="DailyForecastData.Forecast (OpenWeatherMap.org JAPIs)";
parent.document.title="DailyForecastData.Forecast (OWM JAPIs Docs)";
}
//-->
</script>
@ -107,22 +107,24 @@
<br>
<pre>public static class <span class="strong">DailyForecastData.Forecast</span>
extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.html" title="class in net.aksingh.java.api.owm">AbstractWeatherData</a></pre>
<div class="block">Parses data about forecasts (from the JSON data)
and provides methods to get/access the information.
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 forecasts (from the JSON data) and provides methods to
get/access the information. 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>
@ -150,15 +152,15 @@ extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.htm
<tr class="altColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.Temperature.html" title="class in net.aksingh.java.api.owm">DailyForecastData.Forecast.Temperature</a></strong></code>
<div class="block">Parses data about temperature (from the JSON data)
and provides methods to get/access the information.</div>
<div class="block">Parses data about temperature (from the JSON data) and provides
methods to get/access the information.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static class&nbsp;</code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.Weather.html" title="class in net.aksingh.java.api.owm">DailyForecastData.Forecast.Weather</a></strong></code>
<div class="block">Parses data about weather (from the JSON data)
and provides methods to get/access the information.</div>
<div class="block">Parses data about weather (from the JSON data) and provides methods
to get/access the information.</div>
</td>
</tr>
</table>
@ -184,87 +186,11 @@ extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.htm
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private float</code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.html#cloudsPercent">cloudsPercent</a></strong></code>
<div class="block">Percentage of clouds</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private float</code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.html#humidity">humidity</a></strong></code>
<div class="block">Humidity</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/DailyForecastData.Forecast.html#JSON_FORECAST_CLOUDS">JSON_FORECAST_CLOUDS</a></strong></code>
<div class="block">Key for JSON variable <code>Percentage of clouds</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/DailyForecastData.Forecast.html#JSON_FORECAST_HUMIDITY">JSON_FORECAST_HUMIDITY</a></strong></code>
<div class="block">Key for JSON variable <code>Humidity</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/DailyForecastData.Forecast.html#JSON_FORECAST_PRESSURE">JSON_FORECAST_PRESSURE</a></strong></code>
<div class="block">Key for JSON variable <code>Pressure</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/DailyForecastData.Forecast.html#JSON_FORECAST_WIND_DEGREE">JSON_FORECAST_WIND_DEGREE</a></strong></code>
<div class="block">Key for JSON variable <code>Wind degree</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/DailyForecastData.Forecast.html#JSON_FORECAST_WIND_SPEED">JSON_FORECAST_WIND_SPEED</a></strong></code>
<div class="block">Key for JSON variable <code>Wind speed</code></div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.html#JSON_TEMP">JSON_TEMP</a></strong></code>
<div class="block">Key for JSON object - Temperature</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private float</code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.html#pressure">pressure</a></strong></code>
<div class="block">Pressure</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private <a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.Temperature.html" title="class in net.aksingh.java.api.owm">DailyForecastData.Forecast.Temperature</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.html#temp">temp</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.util.List&lt;<a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.Weather.html" title="class in net.aksingh.java.api.owm">DailyForecastData.Forecast.Weather</a>&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.html#weatherList">weatherList</a></strong></code>
<div class="block">List of weather information (code, name, etc.)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.html#weatherListCount">weatherListCount</a></strong></code>
<div class="block">Count (number) of elements in list of weather information</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private float</code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.html#windDegree">windDegree</a></strong></code>
<div class="block">Wind degree</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private float</code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.html#windSpeed">windSpeed</a></strong></code>
<div class="block">Wind speed</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_net.aksingh.java.api.owm.AbstractWeatherData">
@ -293,9 +219,7 @@ extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.htm
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.html#DailyForecastData.Forecast(org.json.JSONObject)">DailyForecastData.Forecast</a></strong>(org.json.JSONObject&nbsp;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>
@ -401,7 +325,7 @@ extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.htm
<a name="JSON_TEMP">
<!-- -->
</a>
<ul class="blockList">
<ul class="blockListLast">
<li class="blockList">
<h4>JSON_TEMP</h4>
<pre>public final&nbsp;java.lang.String JSON_TEMP</pre>
@ -409,140 +333,6 @@ extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.htm
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.DailyForecastData.Forecast.JSON_TEMP">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JSON_FORECAST_PRESSURE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_FORECAST_PRESSURE</h4>
<pre>private final&nbsp;java.lang.String JSON_FORECAST_PRESSURE</pre>
<div class="block">Key for JSON variable <code>Pressure</code></div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.DailyForecastData.Forecast.JSON_FORECAST_PRESSURE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JSON_FORECAST_HUMIDITY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_FORECAST_HUMIDITY</h4>
<pre>private final&nbsp;java.lang.String JSON_FORECAST_HUMIDITY</pre>
<div class="block">Key for JSON variable <code>Humidity</code></div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.DailyForecastData.Forecast.JSON_FORECAST_HUMIDITY">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JSON_FORECAST_WIND_SPEED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_FORECAST_WIND_SPEED</h4>
<pre>private final&nbsp;java.lang.String JSON_FORECAST_WIND_SPEED</pre>
<div class="block">Key for JSON variable <code>Wind speed</code></div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.DailyForecastData.Forecast.JSON_FORECAST_WIND_SPEED">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JSON_FORECAST_WIND_DEGREE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_FORECAST_WIND_DEGREE</h4>
<pre>private final&nbsp;java.lang.String JSON_FORECAST_WIND_DEGREE</pre>
<div class="block">Key for JSON variable <code>Wind degree</code></div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.DailyForecastData.Forecast.JSON_FORECAST_WIND_DEGREE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JSON_FORECAST_CLOUDS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_FORECAST_CLOUDS</h4>
<pre>private final&nbsp;java.lang.String JSON_FORECAST_CLOUDS</pre>
<div class="block">Key for JSON variable <code>Percentage of clouds</code></div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.DailyForecastData.Forecast.JSON_FORECAST_CLOUDS">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="pressure">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>pressure</h4>
<pre>private final&nbsp;float pressure</pre>
<div class="block">Pressure</div>
</li>
</ul>
<a name="humidity">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>humidity</h4>
<pre>private final&nbsp;float humidity</pre>
<div class="block">Humidity</div>
</li>
</ul>
<a name="windSpeed">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>windSpeed</h4>
<pre>private final&nbsp;float windSpeed</pre>
<div class="block">Wind speed</div>
</li>
</ul>
<a name="windDegree">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>windDegree</h4>
<pre>private final&nbsp;float windDegree</pre>
<div class="block">Wind degree</div>
</li>
</ul>
<a name="cloudsPercent">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cloudsPercent</h4>
<pre>private final&nbsp;float cloudsPercent</pre>
<div class="block">Percentage of clouds</div>
</li>
</ul>
<a name="temp">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>temp</h4>
<pre>private final&nbsp;<a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.Temperature.html" title="class in net.aksingh.java.api.owm">DailyForecastData.Forecast.Temperature</a> temp</pre>
</li>
</ul>
<a name="weatherList">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>weatherList</h4>
<pre>private final&nbsp;java.util.List&lt;<a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.Weather.html" title="class in net.aksingh.java.api.owm">DailyForecastData.Forecast.Weather</a>&gt; weatherList</pre>
<div class="block">List of weather information (code, name, etc.)</div>
</li>
</ul>
<a name="weatherListCount">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>weatherListCount</h4>
<pre>private final&nbsp;int weatherListCount</pre>
<div class="block">Count (number) of elements in list of weather information</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
@ -559,8 +349,9 @@ extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.htm
<h4>DailyForecastData.Forecast</h4>
<pre>public&nbsp;DailyForecastData.Forecast()</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>
@ -575,8 +366,9 @@ extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.htm
<h4>DailyForecastData.Forecast</h4>
<pre>public&nbsp;DailyForecastData.Forecast(org.json.JSONObject&nbsp;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 forecasts</dd></dl>
</li>
</ul>