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>DailyForecastData (OpenWeatherMap.org JAPIs)</title>
|
||||
<meta name="date" content="2013-08-10">
|
||||
<title>DailyForecastData (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 (OpenWeatherMap.org JAPIs)";
|
||||
parent.document.title="DailyForecastData (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>
|
||||
|
@ -98,23 +98,25 @@
|
|||
<br>
|
||||
<pre>public class <span class="strong">DailyForecastData</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">Parses daily forecast data (from the JSON data) and provides methods
|
||||
to get/access the information about daily forecasted weather.
|
||||
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
|
||||
following basis:<br>
|
||||
<div class="block">Parses daily forecast data (from the JSON data) and provides methods to
|
||||
get/access the information about daily forecasted weather. 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>
|
||||
Objects: Data initialized with default/non-parameterized constructor<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>
|
||||
|
@ -142,94 +144,15 @@ 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/DailyForecastData.City.html" title="class in net.aksingh.java.api.owm">DailyForecastData.City</a></strong></code>
|
||||
<div class="block">Parses data about city (from the JSON data)
|
||||
and provides methods to get/access the information.</div>
|
||||
<div class="block">Parses data about city (from the JSON data) and provides methods to
|
||||
get/access the information.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>static class </code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.html" title="class in net.aksingh.java.api.owm">DailyForecastData.Forecast</a></strong></code>
|
||||
<div class="block">Parses data about forecasts (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 <a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.City.html" title="class in net.aksingh.java.api.owm">DailyForecastData.City</a></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.html#city">city</a></strong></code> </td>
|
||||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colFirst"><code>private java.util.List<<a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.html" title="class in net.aksingh.java.api.owm">DailyForecastData.Forecast</a>></code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.html#forecastList">forecastList</a></strong></code>
|
||||
<div class="block">List of forecast information</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colFirst"><code>private int</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.html#forecastListCount">forecastListCount</a></strong></code>
|
||||
<div class="block">Count (number) of elements in list of forecast information</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.html#JSON_CITY">JSON_CITY</a></strong></code>
|
||||
<div class="block">Key for JSON object - 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/DailyForecastData.html#JSON_FORECAST_LIST">JSON_FORECAST_LIST</a></strong></code>
|
||||
<div class="block">Key for JSON object - List of forecasts</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.html#JSON_RESPONSE_CODE">JSON_RESPONSE_CODE</a></strong></code>
|
||||
<div class="block">Key for JSON variable <code>Response code</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.html#JSON_RESPONSE_FORECAST_COUNT">JSON_RESPONSE_FORECAST_COUNT</a></strong></code>
|
||||
<div class="block">Key for JSON variable <code>Forecast count</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.html#JSON_RESPONSE_TIME">JSON_RESPONSE_TIME</a></strong></code>
|
||||
<div class="block">Key for JSON variable <code>Response time</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.html#responseCode">responseCode</a></strong></code>
|
||||
<div class="block">Response code</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.html#responseForecastCount">responseForecastCount</a></strong></code>
|
||||
<div class="block">Forecast count</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.html#responseTime">responseTime</a></strong></code>
|
||||
<div class="block">Response time</div>
|
||||
<div class="block">Parses data about forecasts (from the JSON data) and provides methods to
|
||||
get/access the information.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
@ -248,9 +171,7 @@ extends java.lang.Object</pre>
|
|||
</tr>
|
||||
<tr class="altColor">
|
||||
<td class="colOne"><code><strong><a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.html#DailyForecastData(org.json.JSONObject)">DailyForecastData</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>
|
||||
|
@ -324,128 +245,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">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_CITY</h4>
|
||||
<pre>private final java.lang.String JSON_CITY</pre>
|
||||
<div class="block">Key for JSON object - City</div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.DailyForecastData.JSON_CITY">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_FORECAST_LIST">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_FORECAST_LIST</h4>
|
||||
<pre>private final java.lang.String JSON_FORECAST_LIST</pre>
|
||||
<div class="block">Key for JSON object - List of forecasts</div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.DailyForecastData.JSON_FORECAST_LIST">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_RESPONSE_CODE">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_RESPONSE_CODE</h4>
|
||||
<pre>private final java.lang.String JSON_RESPONSE_CODE</pre>
|
||||
<div class="block">Key for JSON variable <code>Response code</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.DailyForecastData.JSON_RESPONSE_CODE">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_RESPONSE_TIME">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_RESPONSE_TIME</h4>
|
||||
<pre>private final java.lang.String JSON_RESPONSE_TIME</pre>
|
||||
<div class="block">Key for JSON variable <code>Response time</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.DailyForecastData.JSON_RESPONSE_TIME">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_RESPONSE_FORECAST_COUNT">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_RESPONSE_FORECAST_COUNT</h4>
|
||||
<pre>private final java.lang.String JSON_RESPONSE_FORECAST_COUNT</pre>
|
||||
<div class="block">Key for JSON variable <code>Forecast count</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.DailyForecastData.JSON_RESPONSE_FORECAST_COUNT">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="responseCode">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>responseCode</h4>
|
||||
<pre>private final java.lang.String responseCode</pre>
|
||||
<div class="block">Response code</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="responseTime">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>responseTime</h4>
|
||||
<pre>private final float responseTime</pre>
|
||||
<div class="block">Response time</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="responseForecastCount">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>responseForecastCount</h4>
|
||||
<pre>private final int responseForecastCount</pre>
|
||||
<div class="block">Forecast count</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="city">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>city</h4>
|
||||
<pre>private final <a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.City.html" title="class in net.aksingh.java.api.owm">DailyForecastData.City</a> city</pre>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="forecastList">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>forecastList</h4>
|
||||
<pre>private final java.util.List<<a href="../../../../../net/aksingh/java/api/owm/DailyForecastData.Forecast.html" title="class in net.aksingh.java.api.owm">DailyForecastData.Forecast</a>> forecastList</pre>
|
||||
<div class="block">List of forecast information</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="forecastListCount">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>forecastListCount</h4>
|
||||
<pre>private final int forecastListCount</pre>
|
||||
<div class="block">Count (number) of elements in list of forecast information</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
|
@ -460,8 +259,9 @@ extends java.lang.Object</pre>
|
|||
<h4>DailyForecastData</h4>
|
||||
<pre>public DailyForecastData(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 daily forecasts</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -614,13 +414,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