1
0
Fork 0
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:
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:34 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>AbstractWeatherData (OpenWeatherMap.org JAPIs)</title>
<meta name="date" content="2013-08-10">
<title>AbstractWeatherData (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="AbstractWeatherData (OpenWeatherMap.org JAPIs)";
parent.document.title="AbstractWeatherData (OWM JAPIs Docs)";
}
//-->
</script>
@ -102,11 +102,13 @@
<br>
<pre>public abstract class <span class="strong">AbstractWeatherData</span>
extends java.lang.Object</pre>
<div class="block">This class provides default implementations for <a href="../../../../../net/aksingh/java/api/owm/CurrentWeatherData.html" title="class in net.aksingh.java.api.owm"><code>CurrentWeatherData</code></a>
and <a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.html" title="class in net.aksingh.java.api.owm"><code>ForecastWeatherData</code></a> classes.
Standard behaviors like the <code>has</code> and the <code>get</code>
methods for information about weather or forecast (for example,
temperature, pressure, weather, clouds, wind, etc.) are defined here.</div>
<div class="block">This class provides default implementations for
<a href="../../../../../net/aksingh/java/api/owm/CurrentWeatherData.html" title="class in net.aksingh.java.api.owm"><code>CurrentWeatherData</code></a> and
<a href="../../../../../net/aksingh/java/api/owm/ForecastWeatherData.html" title="class in net.aksingh.java.api.owm"><code>ForecastWeatherData</code></a> classes. Standard
behaviors like the <code>has</code> and the <code>get</code> methods for
information about weather or forecast (for example, temperature, pressure,
weather, clouds, wind, etc.) are defined here.
<p></div>
<dl><dt><span class="strong">Since:</span></dt>
<dd>2.5.0.1</dd>
<dt><span class="strong">Version:</span></dt>
@ -177,29 +179,17 @@ extends java.lang.Object</pre>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.util.Date</code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.html#dateTime">dateTime</a></strong></code>
<div class="block">Date and time of the weather.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.html#JSON_CLOUDS">JSON_CLOUDS</a></strong></code>
<div class="block">Key for JSON object - Clouds</div>
</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.html#JSON_COORD">JSON_COORD</a></strong></code>
<div class="block">Key for JSON object - Coordinates (Geographic 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/AbstractWeatherData.html#JSON_DATE_TIME">JSON_DATE_TIME</a></strong></code>
<div class="block">Key for JSON variable Date-Time (date & time of the weather)</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.html#JSON_MAIN">JSON_MAIN</a></strong></code>
@ -239,9 +229,7 @@ extends java.lang.Object</pre>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.html#AbstractWeatherData(org.json.JSONObject)">AbstractWeatherData</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>
@ -340,7 +328,7 @@ extends java.lang.Object</pre>
<a name="JSON_WIND">
<!-- -->
</a>
<ul class="blockList">
<ul class="blockListLast">
<li class="blockList">
<h4>JSON_WIND</h4>
<pre>protected final&nbsp;java.lang.String JSON_WIND</pre>
@ -348,28 +336,6 @@ extends java.lang.Object</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.AbstractWeatherData.JSON_WIND">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="JSON_DATE_TIME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>JSON_DATE_TIME</h4>
<pre>private final&nbsp;java.lang.String JSON_DATE_TIME</pre>
<div class="block">Key for JSON variable Date-Time (date & time of the weather)</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.AbstractWeatherData.JSON_DATE_TIME">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="dateTime">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>dateTime</h4>
<pre>private final&nbsp;java.util.Date dateTime</pre>
<div class="block">Date and time of the weather. This is answer for the question that
when is/will be this weather.</div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
@ -386,8 +352,9 @@ extends java.lang.Object</pre>
<h4>AbstractWeatherData</h4>
<pre>public&nbsp;AbstractWeatherData()</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>
@ -402,8 +369,9 @@ extends java.lang.Object</pre>
<h4>AbstractWeatherData</h4>
<pre>public&nbsp;AbstractWeatherData(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 weather data</dd></dl>
</li>
</ul>
@ -422,7 +390,8 @@ extends java.lang.Object</pre>
<li class="blockList">
<h4>hasDateTime</h4>
<pre>public&nbsp;boolean&nbsp;hasDateTime()</pre>
<div class="block">Tells if the data for date and time of this weather is available or not.</div>
<div class="block">Tells if the data for date and time of this weather is available or not.
<p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd><code>true</code> if data available, otherwise <code>false</code></dd></dl>
</li>
</ul>
@ -433,9 +402,10 @@ extends java.lang.Object</pre>
<li class="blockList">
<h4>getDateTime</h4>
<pre>public&nbsp;java.util.Date&nbsp;getDateTime()</pre>
<div class="block">Returns data for date and time of this weather.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Date and time (in object of <code>Date</code>) if available,
otherwise <code>null</code></dd></dl>
<div class="block">Returns data for date and time of this weather.
<p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>Date and time (in object of <code>Date</code>) if available,
otherwise <code>null</code></dd></dl>
</li>
</ul>
</li>