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: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.Weather (OpenWeatherMap.org JAPIs)</title>
|
||||
<meta name="date" content="2013-08-10">
|
||||
<title>AbstractWeatherData.Weather (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.Weather (OpenWeatherMap.org JAPIs)";
|
||||
parent.document.title="AbstractWeatherData.Weather (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,9 +107,10 @@
|
|||
<pre>public abstract static class <span class="strong">AbstractWeatherData.Weather</span>
|
||||
extends java.lang.Object</pre>
|
||||
<div class="block">This class provides default implementations for <code>Weather</code>.
|
||||
Standard behaviors like the <code>has</code> and the <code>get</code>
|
||||
methods for information about weather (for example, id, name,
|
||||
description, icon, etc.) are defined here.</div>
|
||||
Standard behaviors like the <code>has</code> and the <code>get</code>
|
||||
methods for information about weather (for example, id, name,
|
||||
description, icon, 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>
|
||||
|
@ -122,69 +123,6 @@ extends java.lang.Object</pre>
|
|||
<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 java.lang.String</code></td>
|
||||
<td class="colLast"><code><strong><a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.Weather.html#description">description</a></strong></code>
|
||||
<div class="block">Weather description</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.Weather.html#icon">icon</a></strong></code>
|
||||
<div class="block">Weather icon</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/AbstractWeatherData.Weather.html#id">id</a></strong></code>
|
||||
<div class="block">Weather 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/AbstractWeatherData.Weather.html#JSON_WEATHER_DESCRIPTION">JSON_WEATHER_DESCRIPTION</a></strong></code>
|
||||
<div class="block">Key for JSON variable <code>Weather -> Description</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/AbstractWeatherData.Weather.html#JSON_WEATHER_ICON">JSON_WEATHER_ICON</a></strong></code>
|
||||
<div class="block">Key for JSON variable in array <code>Weather -> Icon</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/AbstractWeatherData.Weather.html#JSON_WEATHER_ID">JSON_WEATHER_ID</a></strong></code>
|
||||
<div class="block">Key for JSON variable in array <code>Weather -> ID</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/AbstractWeatherData.Weather.html#JSON_WEATHER_MAIN">JSON_WEATHER_MAIN</a></strong></code>
|
||||
<div class="block">Key for JSON variable in array <code>Weather -> Main (name of weather)</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/AbstractWeatherData.Weather.html#name">name</a></strong></code>
|
||||
<div class="block">Weather name</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_summary">
|
||||
|
@ -203,9 +141,7 @@ extends java.lang.Object</pre>
|
|||
</tr>
|
||||
<tr class="rowColor">
|
||||
<td class="colOne"><code><strong><a href="../../../../../net/aksingh/java/api/owm/AbstractWeatherData.Weather.html#AbstractWeatherData.Weather(org.json.JSONObject)">AbstractWeatherData.Weather</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>
|
||||
|
@ -287,98 +223,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_WEATHER_ID">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_WEATHER_ID</h4>
|
||||
<pre>private final java.lang.String JSON_WEATHER_ID</pre>
|
||||
<div class="block">Key for JSON variable in array <code>Weather -> ID</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.AbstractWeatherData.Weather.JSON_WEATHER_ID">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_WEATHER_MAIN">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_WEATHER_MAIN</h4>
|
||||
<pre>private final java.lang.String JSON_WEATHER_MAIN</pre>
|
||||
<div class="block">Key for JSON variable in array <code>Weather -> Main (name of weather)</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.AbstractWeatherData.Weather.JSON_WEATHER_MAIN">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_WEATHER_DESCRIPTION">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_WEATHER_DESCRIPTION</h4>
|
||||
<pre>private final java.lang.String JSON_WEATHER_DESCRIPTION</pre>
|
||||
<div class="block">Key for JSON variable <code>Weather -> Description</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.AbstractWeatherData.Weather.JSON_WEATHER_DESCRIPTION">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="JSON_WEATHER_ICON">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>JSON_WEATHER_ICON</h4>
|
||||
<pre>private final java.lang.String JSON_WEATHER_ICON</pre>
|
||||
<div class="block">Key for JSON variable in array <code>Weather -> Icon</code></div>
|
||||
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../constant-values.html#net.aksingh.java.api.owm.AbstractWeatherData.Weather.JSON_WEATHER_ICON">Constant Field Values</a></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="id">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>id</h4>
|
||||
<pre>private final int id</pre>
|
||||
<div class="block">Weather ID</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="name">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>name</h4>
|
||||
<pre>private final java.lang.String name</pre>
|
||||
<div class="block">Weather name</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="description">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockList">
|
||||
<li class="blockList">
|
||||
<h4>description</h4>
|
||||
<pre>private final java.lang.String description</pre>
|
||||
<div class="block">Weather description</div>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="icon">
|
||||
<!-- -->
|
||||
</a>
|
||||
<ul class="blockListLast">
|
||||
<li class="blockList">
|
||||
<h4>icon</h4>
|
||||
<pre>private final java.lang.String icon</pre>
|
||||
<div class="block">Weather icon</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||||
<ul class="blockList">
|
||||
<li class="blockList"><a name="constructor_detail">
|
||||
|
@ -393,8 +237,9 @@ extends java.lang.Object</pre>
|
|||
<h4>AbstractWeatherData.Weather</h4>
|
||||
<pre>public AbstractWeatherData.Weather()</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>
|
||||
|
@ -409,9 +254,11 @@ extends java.lang.Object</pre>
|
|||
<h4>AbstractWeatherData.Weather</h4>
|
||||
<pre>public AbstractWeatherData.Weather(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 weather id, name, etc.</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 weather id, name,
|
||||
etc.</dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -429,8 +276,10 @@ extends java.lang.Object</pre>
|
|||
<li class="blockList">
|
||||
<h4>hasWeatherCode</h4>
|
||||
<pre>public boolean hasWeatherCode()</pre>
|
||||
<div class="block">Tells if the data for weather's code is available or not.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd><code>true</code> if data available, otherwise <code>false</code></dd></dl>
|
||||
<div class="block">Tells if the data for weather's code 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>
|
||||
<a name="hasWeatherName()">
|
||||
|
@ -440,8 +289,10 @@ extends java.lang.Object</pre>
|
|||
<li class="blockList">
|
||||
<h4>hasWeatherName</h4>
|
||||
<pre>public boolean hasWeatherName()</pre>
|
||||
<div class="block">Tells if the data for weather's name is available or not.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd><code>true</code> if data available, otherwise <code>false</code></dd></dl>
|
||||
<div class="block">Tells if the data for weather's name 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>
|
||||
<a name="hasWeatherDescription()">
|
||||
|
@ -451,8 +302,10 @@ extends java.lang.Object</pre>
|
|||
<li class="blockList">
|
||||
<h4>hasWeatherDescription</h4>
|
||||
<pre>public boolean hasWeatherDescription()</pre>
|
||||
<div class="block">Tells if the data for weather's description is available or not.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd><code>true</code> if data available, otherwise <code>false</code></dd></dl>
|
||||
<div class="block">Tells if the data for weather's description 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>
|
||||
<a name="hasWeatherIconName()">
|
||||
|
@ -462,8 +315,10 @@ extends java.lang.Object</pre>
|
|||
<li class="blockList">
|
||||
<h4>hasWeatherIconName</h4>
|
||||
<pre>public boolean hasWeatherIconName()</pre>
|
||||
<div class="block">Tells if the data for name of weather's icon is available or not.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd><code>true</code> if data available, otherwise <code>false</code></dd></dl>
|
||||
<div class="block">Tells if the data for name of weather's icon 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>
|
||||
<a name="getWeatherCode()">
|
||||
|
@ -473,9 +328,10 @@ extends java.lang.Object</pre>
|
|||
<li class="blockList">
|
||||
<h4>getWeatherCode</h4>
|
||||
<pre>public int getWeatherCode()</pre>
|
||||
<div class="block">Returns data for code for weather of the city.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Code for weather of the city if available,
|
||||
otherwise <code>Integer.MIN_VALUE</code></dd></dl>
|
||||
<div class="block">Returns data for code for weather of the city.
|
||||
<p></div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Code for weather of the city if available, otherwise
|
||||
<code>Integer.MIN_VALUE</code></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getWeatherName()">
|
||||
|
@ -485,9 +341,10 @@ extends java.lang.Object</pre>
|
|||
<li class="blockList">
|
||||
<h4>getWeatherName</h4>
|
||||
<pre>public java.lang.String getWeatherName()</pre>
|
||||
<div class="block">Returns data for name for weather of the city.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Name for weather of the city if available,
|
||||
otherwise <code>null</code></dd></dl>
|
||||
<div class="block">Returns data for name for weather of the city.
|
||||
<p></div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Name for weather of the city if available, otherwise
|
||||
<code>null</code></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getWeatherDescription()">
|
||||
|
@ -497,9 +354,10 @@ extends java.lang.Object</pre>
|
|||
<li class="blockList">
|
||||
<h4>getWeatherDescription</h4>
|
||||
<pre>public java.lang.String getWeatherDescription()</pre>
|
||||
<div class="block">Returns data for description for weather of the city.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Description for weather of the city if available,
|
||||
otherwise <code>null</code></dd></dl>
|
||||
<div class="block">Returns data for description for weather of the city.
|
||||
<p></div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Description for weather of the city if available, otherwise
|
||||
<code>null</code></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
<a name="getWeatherIconName()">
|
||||
|
@ -509,9 +367,10 @@ extends java.lang.Object</pre>
|
|||
<li class="blockList">
|
||||
<h4>getWeatherIconName</h4>
|
||||
<pre>public java.lang.String getWeatherIconName()</pre>
|
||||
<div class="block">Returns data for name of icon for weather of the city.</div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Name of icon for weather of the city if available,
|
||||
otherwise <code>null</code></dd></dl>
|
||||
<div class="block">Returns data for name of icon for weather of the city.
|
||||
<p></div>
|
||||
<dl><dt><span class="strong">Returns:</span></dt><dd>Name of icon for weather of the city if available, otherwise
|
||||
<code>null</code></dd></dl>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
@ -565,13 +424,13 @@ extends java.lang.Object</pre>
|
|||
<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