mirror of
https://bitbucket.org/akapribot/owm-japis.git
synced 2025-04-25 15:27: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.Forecast.Main (OpenWeatherMap.org JAPIs)</title>
|
||||
<meta name="date" content="2013-08-10">
|
||||
<title>ForecastWeatherData.Forecast.Main (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.Forecast.Main (OpenWeatherMap.org JAPIs)";
|
||||
parent.document.title="ForecastWeatherData.Forecast.Main (OWM JAPIs Docs)";
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
@ -62,13 +62,13 @@
|
|||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </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>
|
||||
|
@ -107,23 +107,26 @@
|
|||
<br>
|
||||
<pre>public static class <span class="strong">ForecastWeatherData.Forecast.Main</span>
|
||||
extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.Main.html" title="class in net.aksingh.java.api.owm">AbstractWeatherData.Main</a></pre>
|
||||
<div class="block">Parses data about main weather elements (from the JSON data)
|
||||
and provides methods to get/access the information.
|
||||
For example, temperature, pressure, sea level, 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 main weather elements (from the JSON data) and
|
||||
provides methods to get/access the information. For example,
|
||||
temperature, pressure, sea level, 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>
|
||||
|
@ -136,57 +139,6 @@ extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.Mai
|
|||
<div class="summary">
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<!-- =========== 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 float</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.Forecast.Main.html#groundLevel">groundLevel</a></strong></code>
|
||||
<div class="block">Ground level</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.Forecast.Main.html#JSON_MAIN_GRND_LEVEL">JSON_MAIN_GRND_LEVEL</a></strong></code>
|
||||
<div class="block">Key for JSON variable <code>Main -> Ground level</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.Forecast.Main.html#JSON_MAIN_SEA_LEVEL">JSON_MAIN_SEA_LEVEL</a></strong></code>
|
||||
<div class="block">Key for JSON variable <code>Main -> Sea level</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.Forecast.Main.html#JSON_MAIN_TMP_KF">JSON_MAIN_TMP_KF</a></strong></code>
|
||||
<div class="block">Key for JSON variable <code>Main -> Temperature KF</code></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/ForecastWeatherData.Forecast.Main.html#seaLevel">seaLevel</a></strong></code>
|
||||
<div class="block">Sea level</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/ForecastWeatherData.Forecast.Main.html#tempKF">tempKF</a></strong></code>
|
||||
<div class="block">Temperature KF</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
|
@ -205,9 +157,7 @@ extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.Mai
|
|||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><strong><a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.Forecast.Main.html#ForecastWeatherData.Forecast.Main(org.json.JSONObject)">ForecastWeatherData.Forecast.Main</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>
|
||||
|
@ -272,77 +222,6 @@ extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.Mai
|
|||
<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_MAIN_SEA_LEVEL">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_MAIN_SEA_LEVEL</h4>
|
||||
<pre>private final java.lang.String JSON_MAIN_SEA_LEVEL</pre>
|
||||
<div class="block">Key for JSON variable <code>Main -> Sea level</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.ForecastWeatherData.Forecast.Main.JSON_MAIN_SEA_LEVEL">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_MAIN_GRND_LEVEL">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_MAIN_GRND_LEVEL</h4>
|
||||
<pre>private final java.lang.String JSON_MAIN_GRND_LEVEL</pre>
|
||||
<div class="block">Key for JSON variable <code>Main -> Ground level</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.ForecastWeatherData.Forecast.Main.JSON_MAIN_GRND_LEVEL">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_MAIN_TMP_KF">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_MAIN_TMP_KF</h4>
|
||||
<pre>private final java.lang.String JSON_MAIN_TMP_KF</pre>
|
||||
<div class="block">Key for JSON variable <code>Main -> Temperature KF</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.ForecastWeatherData.Forecast.Main.JSON_MAIN_TMP_KF">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="seaLevel">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>seaLevel</h4>
|
||||
<pre>private final float seaLevel</pre>
|
||||
<div class="block">Sea level</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="groundLevel">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>groundLevel</h4>
|
||||
<pre>private final float groundLevel</pre>
|
||||
<div class="block">Ground level</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="tempKF">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>tempKF</h4>
|
||||
<pre>private final float tempKF</pre>
|
||||
<div class="block">Temperature KF</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
|
@ -357,8 +236,9 @@ extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.Mai
|
|||
<h4>ForecastWeatherData.Forecast.Main</h4>
|
||||
<pre>public ForecastWeatherData.Forecast.Main()</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>
|
||||
|
@ -373,10 +253,11 @@ extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.Mai
|
|||
<h4>ForecastWeatherData.Forecast.Main</h4>
|
||||
<pre>public ForecastWeatherData.Forecast.Main(org.json.JSONObject jsonObj)</pre>
|
||||
<div class="block">Parameterized constructor
|
||||
|
||||
Initializes variables from values from the given JSON object.</div>
|
||||
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jsonObj</code> - JSON object containing data about main
|
||||
weather elements</dd></dl>
|
||||
<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 main weather
|
||||
elements</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -492,13 +373,13 @@ extends <a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.Mai
|
|||
<ul class="subNavList">
|
||||
<li>Summary: </li>
|
||||
<li>Nested | </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