diff --git a/.gitignore b/.gitignore index e71895c..29e97c8 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ nbproject/ lib/CopyLibs/org-netbeans-modules-java-j2seproject-copylibstask.jar /build/ build.xml -/lib/CopyLibs/ \ No newline at end of file +/lib/CopyLibs/ +/dist/ \ No newline at end of file diff --git a/README.md b/README.md index bbdccc7..5b37d34 100644 --- a/README.md +++ b/README.md @@ -29,6 +29,7 @@ Download the library's source and binaries from [OWM JAPIs Downloads][1]. ####2.5.0.2 (latest) **Bug-fix version:** + 1. Fixed bugs which caused wrong parsing of date and time. 2. Improved code formatting and readability (for developers). @@ -36,12 +37,14 @@ Download the library's source and binaries from [OWM JAPIs Downloads][1]. ####2.5.0.1 **Implemented:** + 1. Current Weather 2. Weather Forecasts 3. Daily Forecasts 4. Wind degree to direction converter **Not implemented but planned:** + 1. Searching of City 2. Weather Maps 3. Country code to name converter @@ -67,7 +70,7 @@ Kindly have a look on the example below for a clear understanding. ##Example ### Basic Example -####Source Code +####Sample Code import java.io.IOException; import java.net.MalformedURLException; @@ -108,7 +111,7 @@ Professionally, you should always **write code which can handle errors/exception Using OWM JAPIs, you can always check if a particular data is available or not. This is done by using the **has<data-name>()** functions. For example, **hasResponseCode()** function checks if the retrieved data has a response code or not; and if available, response code can be used to check if the whole data was downloaded and parsed correctly or not, as shown below in the example. -####Source Code +####Sample Code import java.io.IOException; import java.net.MalformedURLException; @@ -116,7 +119,7 @@ Using OWM JAPIs, you can always check if a particular data is available or not. import net.aksingh.java.api.owm.OpenWeatherMap; import org.json.JSONException; - public class OwmJapisTest { + public class OwmJapisExample2 { public static void main(String[] args) throws IOException, MalformedURLException, JSONException { diff --git a/README.pdf b/README.pdf index 1db9da4..a493291 100644 Binary files a/README.pdf and b/README.pdf differ diff --git a/javadoc/allclasses-frame.html b/javadoc/allclasses-frame.html index 9e6f1f3..47d2e99 100644 --- a/javadoc/allclasses-frame.html +++ b/javadoc/allclasses-frame.html @@ -2,10 +2,10 @@
- + -"coord"
private final java.lang.String
JSON_DATE_TIME
"dt"
protected final java.lang.String
JSON_MAIN
"main"
protected final java.lang.String
JSON_WEATHER
"weather"
protected final java.lang.String
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_CLOUDS_ALL |
-"all" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_COORD_LATITUDE |
-"lat" |
-
-
-private final java.lang.String |
-JSON_COORD_LONGITUDE |
-"lon" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_MAIN_HUMIDITY |
-"humidity" |
-
-
-private final java.lang.String |
-JSON_MAIN_PRESSURE |
-"pressure" |
-
-
-private final java.lang.String |
-JSON_MAIN_TEMP |
-"temp" |
-
-
-private final java.lang.String |
-JSON_MAIN_TEMP_MAX |
-"temp_max" |
-
-
-private final java.lang.String |
-JSON_MAIN_TEMP_MIN |
-"temp_min" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_WEATHER_DESCRIPTION |
-"description" |
-
-
-private final java.lang.String |
-JSON_WEATHER_ICON |
-"icon" |
-
-
-private final java.lang.String |
-JSON_WEATHER_ID |
-"id" |
-
-
-private final java.lang.String |
-JSON_WEATHER_MAIN |
-"main" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_WIND_DEGREE |
-"deg" |
-
-
-private final java.lang.String |
-JSON_WIND_SPEED |
-"speed" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_BASE |
-"base" |
-
-
-private final java.lang.String |
-JSON_CITY_ID |
-"id" |
-
-
-private final java.lang.String |
-JSON_CITY_NAME |
-"name" |
-
-
-private final java.lang.String |
-JSON_RAIN |
-"rain" |
-
-
-private final java.lang.String |
-JSON_RESPONSE_CODE |
-"cod" |
-
-
-private final java.lang.String |
-JSON_SYS |
-"sys" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_RAIN_3HOURS |
-"3h" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_SYS_COUNTRY_CODE |
-"country" |
-
-
-private final java.lang.String |
-JSON_SYS_SUNRISE |
-"sunrise" |
-
-
-private final java.lang.String |
-JSON_SYS_SUNSET |
-"sunset" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_WIND_GUST |
-"gust" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_CITY |
-"city" |
-
-
-private final java.lang.String |
-JSON_FORECAST_LIST |
-"list" |
-
-
-private final java.lang.String |
-JSON_RESPONSE_CODE |
-"cod" |
-
-
-private final java.lang.String |
-JSON_RESPONSE_FORECAST_COUNT |
-"cnt" |
-
-
-private final java.lang.String |
-JSON_RESPONSE_TIME |
-"message" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_CITY_COORD |
-"coord" |
-
-
-private final java.lang.String |
-JSON_CITY_COUNTRY_CODE |
-"country" |
-
-
-private final java.lang.String |
-JSON_CITY_ID |
-"id" |
-
-
-private final java.lang.String |
-JSON_CITY_NAME |
-"name" |
-
-
-private final java.lang.String |
-JSON_CITY_POPULATION |
-"population" |
-
Modifier and Type | @@ -515,41 +131,6 @@||
---|---|---|
-
-private final java.lang.String |
-JSON_FORECAST_CLOUDS |
-"clouds" |
-
-
-private final java.lang.String |
-JSON_FORECAST_HUMIDITY |
-"humidity" |
-
-
-private final java.lang.String |
-JSON_FORECAST_PRESSURE |
-"pressure" |
-
-
-private final java.lang.String |
-JSON_FORECAST_WIND_DEGREE |
-"deg" |
-
-
-private final java.lang.String |
-JSON_FORECAST_WIND_SPEED |
-"speed" |
-
public final java.lang.String |
@@ -613,178 +194,6 @@
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_CITY |
-"city" |
-
-
-private final java.lang.String |
-JSON_FORECAST_LIST |
-"list" |
-
-
-private final java.lang.String |
-JSON_RESPONSE_CODE |
-"cod" |
-
-
-private final java.lang.String |
-JSON_RESPONSE_FORECAST_COUNT |
-"cnt" |
-
-
-private final java.lang.String |
-JSON_RESPONSE_TIME |
-"message" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_CITY_COORD |
-"coord" |
-
-
-private final java.lang.String |
-JSON_CITY_COUNTRY_CODE |
-"country" |
-
-
-private final java.lang.String |
-JSON_CITY_ID |
-"id" |
-
-
-private final java.lang.String |
-JSON_CITY_NAME |
-"name" |
-
-
-private final java.lang.String |
-JSON_CITY_POPULATION |
-"population" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_DATE_TIME_TEXT |
-"dt_txt" |
-
-
-private final java.lang.String |
-JSON_SYS |
-"sys" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_MAIN_GRND_LEVEL |
-"grnd_level" |
-
-
-private final java.lang.String |
-JSON_MAIN_SEA_LEVEL |
-"sea_level" |
-
-
-private final java.lang.String |
-JSON_MAIN_TMP_KF |
-"temp_kf" |
-
Modifier and Type | -Constant Field | -Value | -
---|---|---|
-
-private final java.lang.String |
-JSON_SYS_POD |
-"pod" |
-
CurrentWeatherData
- and ForecastWeatherData
classes.CurrentWeatherData
and
+ ForecastWeatherData
classes.Base
Country code of city
Country code of city
City code (ID)
City code (ID)
City code (ID)
City name
City name
City name
Population of city
Population of city
Clouds -> All
- (percentage of all clouds)Coord -> Latitude
Coord -> Longitude
Date time text
Percentage of clouds
Humidity
Pressure
Wind degree
Wind speed
Main -> Ground level
Main -> Humidity
Main -> Pressure
Main -> Sea level
Main -> Temperature
Main -> Maximum temperature
Main -> Minimum temperature
Main -> Temperature KF
Rain -> Rain per 3 hours
Response code
Response code
Response code
Forecast count
Forecast count
Response time
Response time
Sys -> Country
Sys -> Pod
Sys -> Sunrise
Sys -> Sunset
Temp -> Day
Temp -> Evening
Temp -> Maximum
Temp -> Minimum
Temp -> Morning
Temp -> Night
Weather -> Description
Weather -> Icon
Weather -> ID
Weather -> Main (name of weather)
Wind -> Degree
Wind -> Gust
Wind -> Speed
Temp -> Day
Temp -> Evening
Temp -> Maximum
Temp -> Minimum
Temp -> Morning
Temp -> Night
Modifier and Type | -Field and Description | -
---|---|
private java.lang.String |
-JSON_CLOUDS_ALL
-Key for JSON variable
-Clouds -> All
- (percentage of all clouds) |
-
private float |
-percentOfClouds
-Percentage of all clouds
- |
-
AbstractWeatherData.Clouds(org.json.JSONObject jsonObj)
-private final java.lang.String JSON_CLOUDS_ALL-
Clouds -> All
- (percentage of all clouds)private final float percentOfClouds-
public boolean hasPercentageOfClouds()-
true
if data available, otherwise false
true
if data available, otherwise
+ false
public float getPercentageOfClouds()-
Float.NaN
, i.e., Not a Number.Float.NaN
, i.e., Not a Number.public abstract static class AbstractWeatherData.Coord
extends java.lang.Object
Coord
.
- Standard behaviors like the has
and the get
- methods for information about geographic coordinates (latitude
- and longitude) are defined here.has
and the get
+ methods for information about geographic coordinates (latitude and
+ longitude) are defined here.
+ Modifier and Type | -Field and Description | -
---|---|
private java.lang.String |
-JSON_COORD_LATITUDE
-Key for JSON variable
-Coord -> Latitude |
-
private java.lang.String |
-JSON_COORD_LONGITUDE
-Key for JSON variable
-Coord -> Longitude |
-
private float |
-lat
-Latitude
- |
-
private float |
-lon
-Longitude
- |
-
AbstractWeatherData.Coord(org.json.JSONObject jsonObj)
-private final java.lang.String JSON_COORD_LATITUDE-
Coord -> Latitude
private final java.lang.String JSON_COORD_LONGITUDE-
Coord -> Longitude
private final float lat-
private final float lon-
public boolean hasLatitude()-
true
if data available, otherwise false
true
if data available, otherwise
+ false
public boolean hasLongitude()-
true
if data available, otherwise false
true
if data available, otherwise
+ false
public float getLatitude()-
Float.NaN
, i.e., Not a Number.Float.NaN
, i.e., Not a Number.public float getLongitude()-
Float.NaN
, i.e., Not a Number.Float.NaN
, i.e., Not a Number.public abstract static class AbstractWeatherData.Main
extends java.lang.Object
Main
.
- Standard behaviors like the has
and the get
- methods for information about main weather elements (for example,
- temperature, pressure, humidity, etc.) are defined here.has
and the get
+ methods for information about main weather elements (for example,
+ temperature, pressure, humidity, etc.) are defined here.
+ Modifier and Type | -Field and Description | -
---|---|
private float |
-humidity
-Humidity
- |
-
private java.lang.String |
-JSON_MAIN_HUMIDITY
-Key for JSON variable
-Main -> Humidity |
-
private java.lang.String |
-JSON_MAIN_PRESSURE
-Key for JSON variable
-Main -> Pressure |
-
private java.lang.String |
-JSON_MAIN_TEMP
-Key for JSON variable
-Main -> Temperature |
-
private java.lang.String |
-JSON_MAIN_TEMP_MAX
-Key for JSON variable
-Main -> Maximum temperature |
-
private java.lang.String |
-JSON_MAIN_TEMP_MIN
-Key for JSON variable
-Main -> Minimum temperature |
-
private float |
-maxTemp
-Maximum temperature
- |
-
private float |
-minTemp
-Minimum temperature
- |
-
private float |
-pressure
-Pressure
- |
-
private float |
-temp
-Temperature
- |
-
AbstractWeatherData.Main(org.json.JSONObject jsonObj)
-boolean
hasMaxTemperature()
-boolean
hasMinTemperature()
-private final java.lang.String JSON_MAIN_TEMP-
Main -> Temperature
private final java.lang.String JSON_MAIN_TEMP_MIN-
Main -> Minimum temperature
private final java.lang.String JSON_MAIN_TEMP_MAX-
Main -> Maximum temperature
private final java.lang.String JSON_MAIN_PRESSURE-
Main -> Pressure
private final java.lang.String JSON_MAIN_HUMIDITY-
Main -> Humidity
private final float temp-
private final float minTemp-
private final float maxTemp-
private final float pressure-
private final float humidity-
public boolean hasTemperature()-
true
if data available, otherwise false
true
if data available, otherwise
+ false
public boolean hasMinTemperature()-
true
if data available, otherwise false
true
if data available, otherwise
+ false
public boolean hasMaxTemperature()-
true
if data available, otherwise false
true
if data available, otherwise
+ false
public boolean hasPressure()-
true
if data available, otherwise false
true
if data available, otherwise
+ false
public boolean hasHumidity()-
true
if data available, otherwise false
true
if data available, otherwise
+ false
public float getTemperature()-
Float.NaN
, i.e., Not a Number.Float.NaN
, i.e., Not a Number.public float getMinTemperature()-
Float.NaN
, i.e., Not a Number.Float.NaN
, i.e., Not a Number.public float getMaxTemperature()-
Float.NaN
, i.e., Not a Number.Float.NaN
, i.e., Not a Number.public float getPressure()-
Float.NaN
, i.e., Not a Number.Float.NaN
, i.e., Not a Number.public float getHumidity()-
Float.NaN
, i.e., Not a Number.Float.NaN
, i.e., Not a Number.public abstract static class AbstractWeatherData.Weather
extends java.lang.Object
Weather
.
- Standard behaviors like the has
and the get
- methods for information about weather (for example, id, name,
- description, icon, etc.) are defined here.has
and the get
+ methods for information about weather (for example, id, name,
+ description, icon, etc.) are defined here.
+ Modifier and Type | -Field and Description | -
---|---|
private java.lang.String |
-description
-Weather description
- |
-
private java.lang.String |
-icon
-Weather icon
- |
-
private int |
-id
-Weather ID
- |
-
private java.lang.String |
-JSON_WEATHER_DESCRIPTION
-Key for JSON variable
-Weather -> Description |
-
private java.lang.String |
-JSON_WEATHER_ICON
-Key for JSON variable in array
-Weather -> Icon |
-
private java.lang.String |
-JSON_WEATHER_ID
-Key for JSON variable in array
-Weather -> ID |
-
private java.lang.String |
-JSON_WEATHER_MAIN
-Key for JSON variable in array
-Weather -> Main (name of weather) |
-
private java.lang.String |
-name
-Weather name
- |
-
AbstractWeatherData.Weather(org.json.JSONObject jsonObj)
-private final java.lang.String JSON_WEATHER_ID-
Weather -> ID
private final java.lang.String JSON_WEATHER_MAIN-
Weather -> Main (name of weather)
private final java.lang.String JSON_WEATHER_DESCRIPTION-
Weather -> Description
private final java.lang.String JSON_WEATHER_ICON-
Weather -> Icon
private final int id-
private final java.lang.String name-
private final java.lang.String description-
private final java.lang.String icon-
public boolean hasWeatherCode()-
true
if data available, otherwise false
true
if data available, otherwise
+ false
public boolean hasWeatherName()-
true
if data available, otherwise false
true
if data available, otherwise
+ false
public boolean hasWeatherDescription()-
true
if data available, otherwise false
true
if data available, otherwise
+ false
public boolean hasWeatherIconName()-
true
if data available, otherwise false
true
if data available, otherwise
+ false
public int getWeatherCode()-
Integer.MIN_VALUE
Integer.MIN_VALUE
public java.lang.String getWeatherName()-
null
null
public java.lang.String getWeatherDescription()-
null
null
public java.lang.String getWeatherIconName()-
null
null
public abstract static class AbstractWeatherData.Wind
extends java.lang.Object
Wind
.
- Standard behaviors like the has
and the get
- methods for information about wind (for example, speed, degree,
- etc.) are defined here.has
and the get
+ methods for information about wind (for example, speed, degree, etc.) are
+ defined here.
+ Modifier and Type | -Field and Description | -
---|---|
private float |
-degree
-Wind degree (direction of wind)
- |
-
private java.lang.String |
-JSON_WIND_DEGREE
-Key for JSON variable
-Wind -> Degree |
-
private java.lang.String |
-JSON_WIND_SPEED
-Key for JSON variable
-Wind -> Speed |
-
private float |
-speed
-Wind speed
- |
-
AbstractWeatherData.Wind(org.json.JSONObject jsonObj)
-boolean
hasWindDegree()
-private final java.lang.String JSON_WIND_SPEED-
Wind -> Speed
private final java.lang.String JSON_WIND_DEGREE-
Wind -> Degree
private final float speed-
private final float degree-
public boolean hasWindSpeed()-
true
if data available, otherwise false
true
if data available, otherwise
+ false
public boolean hasWindDegree()-
true
if data available, otherwise false
true
if data available, otherwise
+ false
public float getWindSpeed()-
Float.NaN
, i.e., Not a Number.Float.NaN
, i.e., Not a Number.public float getWindDegree()-
Float.NaN
, i.e., Not a Number.Float.NaN
, i.e., Not a Number.public abstract class AbstractWeatherData
extends java.lang.Object
-CurrentWeatherData
- and ForecastWeatherData
classes.
- Standard behaviors like the has
and the get
- methods for information about weather or forecast (for example,
- temperature, pressure, weather, clouds, wind, etc.) are defined here.CurrentWeatherData
and
+ ForecastWeatherData
classes. Standard
+ behaviors like the has
and the get
methods for
+ information about weather or forecast (for example, temperature, pressure,
+ weather, clouds, wind, etc.) are defined here.
+ private java.util.Date
dateTime
-protected java.lang.String
JSON_CLOUDS
protected java.lang.String
JSON_COORD
private java.lang.String
JSON_DATE_TIME
-protected java.lang.String
JSON_MAIN
@@ -239,9 +229,7 @@ extends java.lang.Object
AbstractWeatherData(org.json.JSONObject jsonObj)
-protected final java.lang.String JSON_WIND@@ -348,28 +336,6 @@ extends java.lang.Object
private final java.lang.String JSON_DATE_TIME-
private final java.util.Date dateTime-
public AbstractWeatherData()
Initializes variables as per following basis:
+
+
+ Initializes variables as per following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -402,8 +369,9 @@ extends java.lang.Object
public AbstractWeatherData(org.json.JSONObject jsonObj)
+ Initializes variables from values from the given JSON object. +
jsonObj
- JSON object containing weather datapublic boolean hasDateTime()-
true
if data available, otherwise false
public java.util.Date getDateTime()-
Date
) if available,
- otherwise null
Date
) if available,
+ otherwise null
public static class CurrentWeatherData.Clouds extends AbstractWeatherData.Clouds-
has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
-
get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+
has
and
+ get
methods to access the information.
+ +
+ has
methods can be used to check if the data exists, i.e.,
+ if the data was available (successfully downloaded) and was parsed
+ correctly.
+
+
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
CurrentWeatherData.Clouds(org.json.JSONObject jsonObj)
-Initializes variables as per following basis:
+
+
+ Initializes variables as per following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -219,8 +220,9 @@ extends Parameterized constructor
-
- Initializes variables from values from the given JSON object.
+ Initializes variables from values from the given JSON object. +
jsonObj
- JSON object containing data about cloudspublic static class CurrentWeatherData.Coord extends AbstractWeatherData.Coord-
has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
-
get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+
has
and get
methods to access the information.
+ +
+ has
methods can be used to check if the data exists, i.e.,
+ if the data was available (successfully downloaded) and was parsed
+ correctly.
+
+
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
CurrentWeatherData.Coord(org.json.JSONObject jsonObj)
-Initializes variables as per following basis:
+
+
+ Initializes variables as per following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -219,8 +220,9 @@ extends Parameterized constructor
-
- Initializes variables from values from the given JSON object.
+ Initializes variables from values from the given JSON object. +
jsonObj
- JSON object containing data about coordinatespublic static class CurrentWeatherData.Main
extends AbstractWeatherData.Main
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
-
get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+
has
and get
methods to access the information.
+ +
+ has
methods can be used to check if the data exists, i.e.,
+ if the data was available (successfully downloaded) and was parsed
+ correctly.
+
+
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
CurrentWeatherData.Main(org.json.JSONObject jsonObj)
-Initializes variables as per following basis:
+
+
+ Initializes variables as per following basis:
+ Initializes variables from values from the given JSON object.
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Initializes variables as per following basis:
+
+ Initializes variables as per following basis:
+ Initializes variables from values from the given JSON object.
+
+
+
+
+ Initializes variables as per following basis:
+
+ Initializes variables as per following basis:
+ Initializes variables from values from the given JSON object.
+
+
+
+
+
+ Initializes variables from values from the given JSON object.
+
+
+
+
+ Initializes variables as per following basis:
+
+ Initializes variables as per following basis:
+ Initializes variables from values from the given JSON object.
+
+
+
+
+
+
+
+
+ Initializes variables as per following basis:
+
+ Initializes variables as per following basis:
+ Initializes variables from values from the given JSON object.
+
+
+
+
+ Initializes variables as per following basis:
+
+ Initializes variables as per following basis:
+ Initializes variables from values from the given JSON object.
+
+
+
+
+ Initializes variables as per following basis:
+
+ Initializes variables as per following basis:
+ Initializes variables from values from the given JSON object.
+
+
+
+
+
+
+
+
+ Initializes variables as per following basis:
+
+ Initializes variables as per following basis:
+ Initializes variables from values from the given JSON object.
+
+
+
+
+
+
+
+
+ Initializes variables as per following basis:
+
+ Initializes variables as per following basis:
+ Initializes variables from values from the given JSON object.
+
+
+
+
+ Initializes variables as per following basis:
+
+ Initializes variables as per following basis:
+ Initializes variables from values from the given JSON object.
+
+
+
+
+
+
+
+
+
+ Initializes variables as per following basis:
+
+ Initializes variables as per following basis:
+ Initializes variables from values from the given JSON object.
+
+
+
+
+ Initializes variables as per following basis:
+
+ Initializes variables as per following basis:
+ Initializes variables from values from the given JSON object.
+
+
+
+
+ Initializes variables as per following basis:
+
+ Initializes variables as per following basis:
+ Initializes variables from values from the given JSON object.
+
+
+
+
+ NOTE:
+
+ NOTE: Note: This class directly do not provide any functions, but has
-
+
+ Note: This class directly do not provide any functions, but has
+
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -219,10 +220,11 @@ extends Parameterized constructor
-
- Initializes variables from values from the given JSON object.
-
+ jsonObj
- JSON object containing data about main
- weather elements (temperature, pressure, etc.)
diff --git a/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Rain.html b/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Rain.html
index 0531bef..9b05a1e 100644
--- a/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Rain.html
+++ b/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Rain.html
@@ -2,16 +2,16 @@
-
+
-jsonObj
- JSON object containing data about main weather
+ elements (temperature, pressure, etc.)
public static class CurrentWeatherData.Rain
extends java.lang.Object
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and
+ get
methods to access the information.
+ has
methods can be used to check if the data exists, i.e.,
+ if the data was available (successfully downloaded) and was parsed
+ correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
-
Field Summary
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-private java.lang.String
-JSON_RAIN_3HOURS
-Rain -> Rain per 3 hours
-
-
-private float
-rain3h
-
@@ -219,35 +192,6 @@ extends java.lang.Object
CurrentWeatherData.Rain(org.json.JSONObject jsonObj)
-
diff --git a/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Wind.html b/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Wind.html
index 0554ce8..535ede6 100644
--- a/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Wind.html
+++ b/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Wind.html
@@ -2,16 +2,16 @@
-
+
-
-
@@ -360,13 +306,13 @@ extends java.lang.Object
diff --git a/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Sys.html b/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Sys.html
index f62688b..029ab26 100644
--- a/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Sys.html
+++ b/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Sys.html
@@ -2,16 +2,16 @@
-
+
-Field Detail
-
-
-
-
-
-
-
-
-JSON_RAIN_3HOURS
-private final java.lang.String JSON_RAIN_3HOURS
-Rain -> Rain per 3 hours
-
-
-rain3h
-private final float rain3h
-
public static class CurrentWeatherData.Sys
extends java.lang.Object
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and get
methods to access the information.
+ has
methods can be used to check if the data exists, i.e.,
+ if the data was available (successfully downloaded) and was parsed
+ correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
-
Field Summary
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-private java.lang.String
-countryCode
-
-
-
-private java.lang.String
-JSON_SYS_COUNTRY_CODE
-Sys -> Country
-
-
-private java.lang.String
-JSON_SYS_SUNRISE
-Sys -> Sunrise
-
-
-private java.lang.String
-JSON_SYS_SUNSET
-Sys -> Sunset
-
-
-private java.util.Date
-sunrise
-
-
-
-private java.util.Date
-sunset
-
@@ -259,77 +208,6 @@ extends java.lang.Object
CurrentWeatherData.Sys(org.json.JSONObject jsonObj)
-
-
@@ -479,13 +359,13 @@ extends java.lang.Object
diff --git a/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Weather.html b/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Weather.html
index 6b9d44b..6aa09d4 100644
--- a/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Weather.html
+++ b/javadoc/net/aksingh/java/api/owm/CurrentWeatherData.Weather.html
@@ -2,16 +2,16 @@
-
+
-Field Detail
-
-
-
-
-
-
-
-
-JSON_SYS_COUNTRY_CODE
-private final java.lang.String JSON_SYS_COUNTRY_CODE
-Sys -> Country
-
-
-
-
-
-JSON_SYS_SUNRISE
-private final java.lang.String JSON_SYS_SUNRISE
-Sys -> Sunrise
-
-
-
-
-
-JSON_SYS_SUNSET
-private final java.lang.String JSON_SYS_SUNSET
-Sys -> Sunset
-
-
-
-
-
-countryCode
-private final java.lang.String countryCode
-
-
-
-
-
-sunrise
-private final java.util.Date sunrise
-
-
-sunset
-private final java.util.Date sunset
-
public static class CurrentWeatherData.Weather
extends AbstractWeatherData.Weather
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and get
methods to access the information.
+ has
methods can be used to check if the data exists, i.e.,
+ if the data was available (successfully downloaded) and was parsed
+ correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
@@ -203,8 +203,9 @@ extends Non-parameterized constructor
-
- CurrentWeatherData.Weather(org.json.JSONObject jsonObj)
-
+
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -219,9 +220,11 @@ extends Parameterized constructor
-
- Initializes variables from values from the given JSON object.
+ jsonObj
- JSON object containing data about weather id, name, etc.jsonObj
- JSON object containing data about weather id, name,
+ etc.
public static class CurrentWeatherData.Wind
extends AbstractWeatherData.Wind
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and
+ get
methods to access the information.
+ has
methods can be used to check if the data exists, i.e.,
+ if the data was available (successfully downloaded) and was parsed
+ correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
-
Field Summary
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-private float
-gust
-
-
-
-private java.lang.String
-JSON_WIND_GUST
-Wind -> Gust
@@ -231,35 +204,6 @@ extends
CurrentWeatherData.Wind(org.json.JSONObject jsonObj)
-
-
Field Detail
-
-
-
-
-
-
-
-
-JSON_WIND_GUST
-private final java.lang.String JSON_WIND_GUST
-Wind -> Gust
-
-
-gust
-private final float gust
-
+
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -290,8 +235,9 @@ extends Parameterized constructor
-
- Initializes variables from values from the given JSON object.
@@ -372,13 +318,13 @@ extends
jsonObj
- JSON object containing data about wind
public class CurrentWeatherData
extends AbstractWeatherData
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
- following basis:
+has
and get
methods to access the information.
+ has
methods can be used to check if the data exists, i.e., if
+ the data was available (successfully downloaded) and was parsed correctly.
+ get
methods can be used to access the data, if the data exists,
+ otherwise get
methods will give value as per following
+ basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+ static class
CurrentWeatherData.Clouds
-
static class
CurrentWeatherData.Coord
-
static class
CurrentWeatherData.Main
-
static class
CurrentWeatherData.Rain
-
static class
CurrentWeatherData.Sys
-
@@ -187,8 +188,8 @@ extends
@@ -200,109 +201,6 @@ extends
-static class
CurrentWeatherData.Wind
-
-
-Modifier and Type
-Field and Description
-
-
-
-private java.lang.String
-base
-
-
-
-private long
-cityID
-
-
-
-private java.lang.String
-cityName
-
-
-
-private CurrentWeatherData.Clouds
-clouds
-
-
-private CurrentWeatherData.Coord
-coord
-
-
-private java.lang.String
-JSON_BASE
-Base
-
-
-private java.lang.String
-JSON_CITY_ID
-City code (ID)
-
-
-private java.lang.String
-JSON_CITY_NAME
-City name
-
-
-private java.lang.String
-JSON_RAIN
-
-
-
-private java.lang.String
-JSON_RESPONSE_CODE
-Response code
-
-
-private java.lang.String
-JSON_SYS
-
-
-
-private CurrentWeatherData.Main
-main
-
-
-private CurrentWeatherData.Rain
-rain
-
-
-private int
-responseCode
-
-
-
-private CurrentWeatherData.Sys
-sys
-
-
-private java.util.List<CurrentWeatherData.Weather>
-weatherList
-
-
-
-private int
-weatherListCount
-
-
-
-private CurrentWeatherData.Wind
-wind
diff --git a/javadoc/net/aksingh/java/api/owm/DailyForecastData.City.html b/javadoc/net/aksingh/java/api/owm/DailyForecastData.City.html
index 747432d..d018497 100644
--- a/javadoc/net/aksingh/java/api/owm/DailyForecastData.City.html
+++ b/javadoc/net/aksingh/java/api/owm/DailyForecastData.City.html
@@ -2,16 +2,16 @@
-
+
-
@@ -436,194 +332,6 @@ extends
CurrentWeatherData(org.json.JSONObject jsonObj)
-
diff --git a/javadoc/net/aksingh/java/api/owm/DailyForecastData.City.Coord.html b/javadoc/net/aksingh/java/api/owm/DailyForecastData.City.Coord.html
index f1652eb..b9c14e9 100644
--- a/javadoc/net/aksingh/java/api/owm/DailyForecastData.City.Coord.html
+++ b/javadoc/net/aksingh/java/api/owm/DailyForecastData.City.Coord.html
@@ -2,16 +2,16 @@
-
+
-
-
Field Detail
-
-
-
-
-
-
-
-
-JSON_RAIN
-private final java.lang.String JSON_RAIN
-
-
-
-
-
-
-JSON_SYS
-private final java.lang.String JSON_SYS
-
-
-
-
-
-
-JSON_BASE
-private final java.lang.String JSON_BASE
-Base
-
-
-
-
-
-JSON_CITY_ID
-private final java.lang.String JSON_CITY_ID
-City code (ID)
-
-
-
-
-
-JSON_CITY_NAME
-private final java.lang.String JSON_CITY_NAME
-City name
-
-
-
-
-
-JSON_RESPONSE_CODE
-private final java.lang.String JSON_RESPONSE_CODE
-Response code
-
-
-
-
-
-base
-private final java.lang.String base
-
-
-
-
-
-cityID
-private final long cityID
-
-
-
-
-
-cityName
-private final java.lang.String cityName
-
-
-
-
-
-responseCode
-private final int responseCode
-
-
-
-
-
-clouds
-private final CurrentWeatherData.Clouds clouds
-
-
-
-
-
-coord
-private final CurrentWeatherData.Coord coord
-
-
-
-
-
-main
-private final CurrentWeatherData.Main main
-
-
-
-
-
-rain
-private final CurrentWeatherData.Rain rain
-
-
-
-
-
-sys
-private final CurrentWeatherData.Sys sys
-
-
-
-
-
-wind
-private final CurrentWeatherData.Wind wind
-
-
-
-
-
-weatherList
-private final java.util.List<CurrentWeatherData.Weather> weatherList
-
-
-weatherListCount
-private final int weatherListCount
-
@@ -855,13 +564,13 @@ extends
jsonObj
- JSON object containing current weather data
public static class DailyForecastData.City.Coord
extends AbstractWeatherData.Coord
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and get
methods to access the
+ information.
+ has
methods can be used to check if the data exists,
+ i.e., if the data was available (successfully downloaded) and was
+ parsed correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
@@ -203,8 +204,9 @@ extends Non-parameterized constructor
-
- DailyForecastData.City.Coord(org.json.JSONObject jsonObj)
-
+
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -219,8 +221,9 @@ extends Parameterized constructor
-
- Initializes variables from values from the given JSON object.
+ jsonObj
- JSON object containing data about clouds
public static class DailyForecastData.City
extends java.lang.Object
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and
+ get
methods to access the information.
+ has
methods can be used to check if the data exists, i.e.,
+ if the data was available (successfully downloaded) and was parsed
+ correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
-
-
-
-
-static class
-DailyForecastData.City.Coord
-
-
diff --git a/javadoc/net/aksingh/java/api/owm/DailyForecastData.Forecast.html b/javadoc/net/aksingh/java/api/owm/DailyForecastData.Forecast.html
index b384b81..e1e2b27 100644
--- a/javadoc/net/aksingh/java/api/owm/DailyForecastData.Forecast.html
+++ b/javadoc/net/aksingh/java/api/owm/DailyForecastData.Forecast.html
@@ -2,16 +2,16 @@
-
+
-Field Summary
-
-
@@ -244,9 +173,7 @@ extends java.lang.Object
-
-Modifier and Type
-Field and Description
-
-
-
-private long
-cityID
-
-
-
-private java.lang.String
-cityName
-
-
-
-private DailyForecastData.City.Coord
-coord
-
-
-private java.lang.String
-countryCode
-
-
-
-private java.lang.String
-JSON_CITY_COORD
-
-
-
-private java.lang.String
-JSON_CITY_COUNTRY_CODE
-Country code of city
-
-
-private java.lang.String
-JSON_CITY_ID
-City code (ID)
-
-
-private java.lang.String
-JSON_CITY_NAME
-City name
-
-
-private java.lang.String
-JSON_CITY_POPULATION
-Population of city
-
-private long
population
-
@@ -316,118 +243,6 @@ extends java.lang.Object
DailyForecastData.City(org.json.JSONObject jsonObj)
-
@@ -236,9 +202,7 @@ extends java.lang.Object
-
@@ -603,13 +420,13 @@ extends java.lang.Object
diff --git a/javadoc/net/aksingh/java/api/owm/DailyForecastData.Forecast.Temperature.html b/javadoc/net/aksingh/java/api/owm/DailyForecastData.Forecast.Temperature.html
index 0423900..d969836 100644
--- a/javadoc/net/aksingh/java/api/owm/DailyForecastData.Forecast.Temperature.html
+++ b/javadoc/net/aksingh/java/api/owm/DailyForecastData.Forecast.Temperature.html
@@ -2,16 +2,16 @@
-
+
-Field Detail
-
-
-
-
-
-
-
-
-JSON_CITY_COORD
-private final java.lang.String JSON_CITY_COORD
-
-
-
-
-
-
-JSON_CITY_ID
-private final java.lang.String JSON_CITY_ID
-City code (ID)
-
-
-
-
-
-JSON_CITY_NAME
-private final java.lang.String JSON_CITY_NAME
-City name
-
-
-
-
-
-JSON_CITY_COUNTRY_CODE
-private final java.lang.String JSON_CITY_COUNTRY_CODE
-Country code of city
-
-
-
-
-
-JSON_CITY_POPULATION
-private final java.lang.String JSON_CITY_POPULATION
-Population of city
-
-
-
-
-
-cityID
-private final long cityID
-
-
-
-
-
-cityName
-private final java.lang.String cityName
-
-
-
-
-
-countryCode
-private final java.lang.String countryCode
-
-
-
-
-
-population
-private final long population
-
-
-coord
-private final DailyForecastData.City.Coord coord
-
public static class DailyForecastData.Forecast.Temperature
extends java.lang.Object
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and get
+ methods to access the information.
+ has
methods can be used to check if the data exists,
+ i.e., if the data was available (successfully downloaded) and was
+ parsed correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+ Field and Description
-
-
-private float
-dayTemp
-
-
-
-private float
-eveTemp
-
-java.lang.String
JSON_TEMP_DAY
Temp -> Day
Temp -> Night
-
-
-private float
-maxTemp
-
-
-
-private float
-minTemp
-
-
-
-private float
-mornTemp
-
-
-private float
-nightTemp
-
@@ -384,7 +348,7 @@ extends java.lang.Object
-DailyForecastData.Forecast.Temperature(org.json.JSONObject jsonObj)
-
+
@@ -468,8 +372,9 @@ extends java.lang.Object
-
-
-
-JSON_TEMP_MORNING
public final java.lang.String JSON_TEMP_MORNING
@@ -392,66 +356,6 @@ extends java.lang.Object
-
-
-
-
-dayTemp
-private final float dayTemp
-
-
-
-
-
-minTemp
-private final float minTemp
-
-
-
-
-
-maxTemp
-private final float maxTemp
-
-
-
-
-
-nightTemp
-private final float nightTemp
-
-
-
-
-
-eveTemp
-private final float eveTemp
-
-
mornTemp
-private final float mornTemp
-DailyForecastData.Forecast.Temperature
public DailyForecastData.Forecast.Temperature()
+
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -484,8 +389,9 @@ extends java.lang.Object
DailyForecastData.Forecast.Temperature
public DailyForecastData.Forecast.Temperature(org.json.JSONObject jsonObj)
diff --git a/javadoc/net/aksingh/java/api/owm/DailyForecastData.Forecast.Weather.html b/javadoc/net/aksingh/java/api/owm/DailyForecastData.Forecast.Weather.html
index 01d2d30..9c2ba2d 100644
--- a/javadoc/net/aksingh/java/api/owm/DailyForecastData.Forecast.Weather.html
+++ b/javadoc/net/aksingh/java/api/owm/DailyForecastData.Forecast.Weather.html
@@ -2,16 +2,16 @@
-
+
-jsonObj
- JSON object containing data about temperature
public static class DailyForecastData.Forecast.Weather
extends AbstractWeatherData.Weather
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and get
methods to
+ access the information.
+ has
methods can be used to check if the data exists,
+ i.e., if the data was available (successfully downloaded) and was
+ parsed correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
@@ -204,8 +204,9 @@ extends Non-parameterized constructor
-
- DailyForecastData.Forecast.Weather(org.json.JSONObject jsonObj)
-
+
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -220,8 +221,9 @@ extends Parameterized constructor
-
- Initializes variables from values from the given JSON object.jsonObj
- JSON object containing data about weather
public static class DailyForecastData.Forecast
extends AbstractWeatherData
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and
+ get
methods to access the information.
+ has
methods can be used to check if the data exists, i.e.,
+ if the data was available (successfully downloaded) and was parsed
+ correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
-
-
-
-static class
DailyForecastData.Forecast.Temperature
-
@@ -184,87 +186,11 @@ extends Field and Description
static class
DailyForecastData.Forecast.Weather
-
-
-
-private float
-cloudsPercent
-
-
-
-private float
-humidity
-
-
-
-private java.lang.String
-JSON_FORECAST_CLOUDS
-Percentage of clouds
-
-
-private java.lang.String
-JSON_FORECAST_HUMIDITY
-Humidity
-
-
-private java.lang.String
-JSON_FORECAST_PRESSURE
-Pressure
-
-
-private java.lang.String
-JSON_FORECAST_WIND_DEGREE
-Wind degree
-
-
-private java.lang.String
-JSON_FORECAST_WIND_SPEED
-Wind speed
-java.lang.String
JSON_TEMP
-
-
-private float
-pressure
-
-
-
-private DailyForecastData.Forecast.Temperature
-temp
-
-
-private java.util.List<DailyForecastData.Forecast.Weather>
-weatherList
-
-
-
-private int
-weatherListCount
-
-
-
-private float
-windDegree
-
-
-private float
-windSpeed
-
@@ -401,7 +325,7 @@ extends
-DailyForecastData.Forecast(org.json.JSONObject jsonObj)
-
+
JSON_TEMP
public final java.lang.String JSON_TEMP
@@ -409,140 +333,6 @@ extends See Also:
-
-
-
-
-JSON_FORECAST_PRESSURE
-private final java.lang.String JSON_FORECAST_PRESSURE
-Pressure
-
-
-
-
-
-JSON_FORECAST_HUMIDITY
-private final java.lang.String JSON_FORECAST_HUMIDITY
-Humidity
-
-
-
-
-
-JSON_FORECAST_WIND_SPEED
-private final java.lang.String JSON_FORECAST_WIND_SPEED
-Wind speed
-
-
-
-
-
-JSON_FORECAST_WIND_DEGREE
-private final java.lang.String JSON_FORECAST_WIND_DEGREE
-Wind degree
-
-
-
-
-
-JSON_FORECAST_CLOUDS
-private final java.lang.String JSON_FORECAST_CLOUDS
-Percentage of clouds
-
-
-
-
-
-pressure
-private final float pressure
-
-
-
-
-
-humidity
-private final float humidity
-
-
-
-
-
-windSpeed
-private final float windSpeed
-
-
-
-
-
-windDegree
-private final float windDegree
-
-
-
-
-
-cloudsPercent
-private final float cloudsPercent
-
-
-
-
-
-temp
-private final DailyForecastData.Forecast.Temperature temp
-
-
-
-
-
-weatherList
-private final java.util.List<DailyForecastData.Forecast.Weather> weatherList
-
-
@@ -559,8 +349,9 @@ extends Non-parameterized constructor
-
- weatherListCount
-private final int weatherListCount
-
+
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -575,8 +366,9 @@ extends Parameterized constructor
-
- Initializes variables from values from the given JSON object.
+
diff --git a/javadoc/net/aksingh/java/api/owm/DailyForecastData.html b/javadoc/net/aksingh/java/api/owm/DailyForecastData.html
index 7228912..76267cc 100644
--- a/javadoc/net/aksingh/java/api/owm/DailyForecastData.html
+++ b/javadoc/net/aksingh/java/api/owm/DailyForecastData.html
@@ -2,16 +2,16 @@
-
+
-jsonObj
- JSON object containing data about forecasts
public class DailyForecastData
extends java.lang.Object
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
- following basis:
+has
and get
methods to access the
+ information.
+ has
methods can be used to check if the data exists, i.e., if
+ the data was available (successfully downloaded) and was parsed correctly.
+ get
methods can be used to access the data, if the data exists,
+ otherwise get
methods will give value as per following
+ basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
Objects: Data initialized with default/non-parameterized constructor
- Others: null
null
+
static class
DailyForecastData.City
-
-
-
-
-
-static class
-DailyForecastData.Forecast
-
-
@@ -614,13 +414,13 @@ extends java.lang.Object
diff --git a/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.City.Coord.html b/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.City.Coord.html
index e09d23f..771b86b 100644
--- a/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.City.Coord.html
+++ b/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.City.Coord.html
@@ -2,16 +2,16 @@
-
+
-Field Summary
-
-
@@ -248,9 +171,7 @@ extends java.lang.Object
-
-Modifier and Type
-Field and Description
-
-
-
-private DailyForecastData.City
-city
-
-
-private java.util.List<DailyForecastData.Forecast>
-forecastList
-
-
-
-private int
-forecastListCount
-
-
-
-private java.lang.String
-JSON_CITY
-
-
-
-private java.lang.String
-JSON_FORECAST_LIST
-
-
-
-private java.lang.String
-JSON_RESPONSE_CODE
-Response code
-
-
-private java.lang.String
-JSON_RESPONSE_FORECAST_COUNT
-Forecast count
-
-
-private java.lang.String
-JSON_RESPONSE_TIME
-Response time
-
-
-private java.lang.String
-responseCode
-
-
-
-private int
-responseForecastCount
-
-
-private float
responseTime
-
@@ -324,128 +245,6 @@ extends java.lang.Object
DailyForecastData(org.json.JSONObject jsonObj)
-
-
Field Detail
-
-
-
-
-
-
-
-
-JSON_CITY
-private final java.lang.String JSON_CITY
-
-
-
-
-
-
-JSON_FORECAST_LIST
-private final java.lang.String JSON_FORECAST_LIST
-
-
-
-
-
-
-JSON_RESPONSE_CODE
-private final java.lang.String JSON_RESPONSE_CODE
-Response code
-
-
-
-
-
-JSON_RESPONSE_TIME
-private final java.lang.String JSON_RESPONSE_TIME
-Response time
-
-
-
-
-
-JSON_RESPONSE_FORECAST_COUNT
-private final java.lang.String JSON_RESPONSE_FORECAST_COUNT
-Forecast count
-
-
-
-
-
-responseCode
-private final java.lang.String responseCode
-
-
-
-
-
-responseTime
-private final float responseTime
-
-
-
-
-
-responseForecastCount
-private final int responseForecastCount
-
-
-
-
-
-city
-private final DailyForecastData.City city
-
-
-
-
-
-forecastList
-private final java.util.List<DailyForecastData.Forecast> forecastList
-
-
-forecastListCount
-private final int forecastListCount
-jsonObj
- JSON object containing data about daily forecasts
public static class ForecastWeatherData.City.Coord
extends AbstractWeatherData.Coord
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and get
methods to access the
+ information.
+ has
methods can be used to check if the data exists,
+ i.e., if the data was available (successfully downloaded) and was
+ parsed correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
@@ -203,8 +204,9 @@ extends Non-parameterized constructor
-
- ForecastWeatherData.City.Coord(org.json.JSONObject jsonObj)
-
+
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -219,8 +221,9 @@ extends Parameterized constructor
-
- Initializes variables from values from the given JSON object.
+
diff --git a/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.City.html b/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.City.html
index c07cb6c..46b6f74 100644
--- a/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.City.html
+++ b/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.City.html
@@ -2,16 +2,16 @@
-
+
-jsonObj
- JSON object containing data about clouds
public static class ForecastWeatherData.City
extends java.lang.Object
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and
+ get
methods to access the information.
+ has
methods can be used to check if the data exists, i.e.,
+ if the data was available (successfully downloaded) and was parsed
+ correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
-
-
-
-
-static class
-ForecastWeatherData.City.Coord
-
-
diff --git a/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.Main.html b/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.Main.html
index 0701ba6..dd34cbf 100644
--- a/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.Main.html
+++ b/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.Main.html
@@ -2,16 +2,16 @@
-
+
-Field Summary
-
-
@@ -244,9 +173,7 @@ extends java.lang.Object
-
-Modifier and Type
-Field and Description
-
-
-
-private long
-cityID
-
-
-
-private java.lang.String
-cityName
-
-
-
-private ForecastWeatherData.City.Coord
-coord
-
-
-private java.lang.String
-countryCode
-
-
-
-private java.lang.String
-JSON_CITY_COORD
-
-
-
-private java.lang.String
-JSON_CITY_COUNTRY_CODE
-Country code of city
-
-
-private java.lang.String
-JSON_CITY_ID
-City code (ID)
-
-
-private java.lang.String
-JSON_CITY_NAME
-City name
-
-
-private java.lang.String
-JSON_CITY_POPULATION
-Population of city
-
-private long
population
-
@@ -316,118 +243,6 @@ extends java.lang.Object
ForecastWeatherData.City(org.json.JSONObject jsonObj)
-
-
@@ -603,13 +420,13 @@ extends java.lang.Object
diff --git a/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.Clouds.html b/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.Clouds.html
index b240382..a0d829b 100644
--- a/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.Clouds.html
+++ b/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.Clouds.html
@@ -2,16 +2,16 @@
-
+
-Field Detail
-
-
-
-
-
-
-
-
-JSON_CITY_COORD
-private final java.lang.String JSON_CITY_COORD
-
-
-
-
-
-
-JSON_CITY_ID
-private final java.lang.String JSON_CITY_ID
-City code (ID)
-
-
-
-
-
-JSON_CITY_NAME
-private final java.lang.String JSON_CITY_NAME
-City name
-
-
-
-
-
-JSON_CITY_COUNTRY_CODE
-private final java.lang.String JSON_CITY_COUNTRY_CODE
-Country code of city
-
-
-
-
-
-JSON_CITY_POPULATION
-private final java.lang.String JSON_CITY_POPULATION
-Population of city
-
-
-
-
-
-cityID
-private final long cityID
-
-
-
-
-
-cityName
-private final java.lang.String cityName
-
-
-
-
-
-countryCode
-private final java.lang.String countryCode
-
-
-
-
-
-population
-private final long population
-
-
-coord
-private final ForecastWeatherData.City.Coord coord
-
public static class ForecastWeatherData.Forecast.Clouds
extends AbstractWeatherData.Clouds
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and
+ get
methods to access the information.
+ has
methods can be used to check if the data exists,
+ i.e., if the data was available (successfully downloaded) and was
+ parsed correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
@@ -203,8 +203,9 @@ extends Non-parameterized constructor
-
- ForecastWeatherData.Forecast.Clouds(org.json.JSONObject jsonObj)
-
+
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -219,8 +220,9 @@ extends Parameterized constructor
-
- Initializes variables from values from the given JSON object.jsonObj
- JSON object containing data about clouds
public static class ForecastWeatherData.Forecast.Main
extends AbstractWeatherData.Main
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and get
methods to access the
+ information.
+ has
methods can be used to check if the data exists,
+ i.e., if the data was available (successfully downloaded) and was
+ parsed correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
-
Field Summary
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-private float
-groundLevel
-
-
-
-private java.lang.String
-JSON_MAIN_GRND_LEVEL
-Main -> Ground level
-
-
-private java.lang.String
-JSON_MAIN_SEA_LEVEL
-Main -> Sea level
-
-
-private java.lang.String
-JSON_MAIN_TMP_KF
-Main -> Temperature KF
-
-
-private float
-seaLevel
-
-
-
-private float
-tempKF
-
@@ -272,77 +222,6 @@ extends
ForecastWeatherData.Forecast.Main(org.json.JSONObject jsonObj)
-
diff --git a/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.Sys.html b/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.Sys.html
index 58b8fb4..bbdaf93 100644
--- a/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.Sys.html
+++ b/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.Sys.html
@@ -2,16 +2,16 @@
-
+
-
-
Field Detail
-
-
-
-
-
-
-
-
-JSON_MAIN_SEA_LEVEL
-private final java.lang.String JSON_MAIN_SEA_LEVEL
-Main -> Sea level
-
-
-
-
-
-JSON_MAIN_GRND_LEVEL
-private final java.lang.String JSON_MAIN_GRND_LEVEL
-Main -> Ground level
-
-
-
-
-
-JSON_MAIN_TMP_KF
-private final java.lang.String JSON_MAIN_TMP_KF
-Main -> Temperature KF
-
-
-
-
-
-seaLevel
-private final float seaLevel
-
-
-
-
-
-groundLevel
-private final float groundLevel
-
-
-tempKF
-private final float tempKF
-
+
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -373,10 +253,11 @@ extends Parameterized constructor
-
- Initializes variables from values from the given JSON object.
-
+ jsonObj
- JSON object containing data about main
- weather elementsjsonObj
- JSON object containing data about main weather
+ elements
public static class ForecastWeatherData.Forecast.Sys
extends java.lang.Object
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and get
methods to access the
+ information.
+ has
methods can be used to check if the data exists,
+ i.e., if the data was available (successfully downloaded) and was
+ parsed correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
-
Field Summary
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-private java.lang.String
-JSON_SYS_POD
-Sys -> Pod
-
-
-private java.lang.String
-pod
-
@@ -220,35 +194,6 @@ extends java.lang.Object
ForecastWeatherData.Forecast.Sys(org.json.JSONObject jsonObj)
-
-
Field Detail
-
-
-
-
-
-
-
-
-JSON_SYS_POD
-private final java.lang.String JSON_SYS_POD
-Sys -> Pod
-
-
-pod
-private final java.lang.String pod
-
public static class ForecastWeatherData.Forecast.Weather
extends AbstractWeatherData.Weather
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and get
methods to
+ access the information.
+ has
methods can be used to check if the data exists,
+ i.e., if the data was available (successfully downloaded) and was
+ parsed correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
@@ -204,8 +204,9 @@ extends Non-parameterized constructor
-
- ForecastWeatherData.Forecast.Weather(org.json.JSONObject jsonObj)
-
+
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -220,10 +221,11 @@ extends Parameterized constructor
-
- Initializes variables from values from the given JSON object.
+ jsonObj
- JSON object containing data about weather
- code, name, etc.jsonObj
- JSON object containing data about weather code,
+ name, etc.
public static class ForecastWeatherData.Forecast.Wind
extends AbstractWeatherData.Wind
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and
+ get
methods to access the information.
+ has
methods can be used to check if the data exists,
+ i.e., if the data was available (successfully downloaded) and was
+ parsed correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+
@@ -203,8 +203,9 @@ extends Non-parameterized constructor
-
- ForecastWeatherData.Forecast.Wind(org.json.JSONObject jsonObj)
-
+
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -219,8 +220,9 @@ extends Parameterized constructor
-
- Initializes variables from values from the given JSON object.
+
diff --git a/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.html b/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.html
index 4bb7a01..9833210 100644
--- a/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.html
+++ b/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.Forecast.html
@@ -2,16 +2,16 @@
-
+
-jsonObj
- JSON object containing data about wind
public static class ForecastWeatherData.Forecast
extends AbstractWeatherData
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
+has
and
+ get
methods to access the information.
+ has
methods can be used to check if the data exists, i.e.,
+ if the data was available (successfully downloaded) and was parsed
+ correctly.
+ get
methods can be used to access the data, if the data
+ exists, otherwise get
methods will give value as per
following basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
- Others: null
null
+ static class
ForecastWeatherData.Forecast.Clouds
-
static class
ForecastWeatherData.Forecast.Main
-
static class
ForecastWeatherData.Forecast.Sys
-
static class
ForecastWeatherData.Forecast.Weather
-
@@ -198,59 +200,6 @@ extends
-static class
ForecastWeatherData.Forecast.Wind
-
-
-Modifier and Type
-Field and Description
-
-
-
-private ForecastWeatherData.Forecast.Clouds
-clouds
-
-
-private java.lang.String
-dateTimeText
-
-
-
-private java.lang.String
-JSON_DATE_TIME_TEXT
-Date time text
-
-
-private java.lang.String
-JSON_SYS
-
-
-
-private ForecastWeatherData.Forecast.Main
-main
-
-
-private ForecastWeatherData.Forecast.Sys
-sys
-
-
-private java.util.List<ForecastWeatherData.Forecast.Weather>
-weatherList
-
-
-
-private int
-weatherListCount
-
-
-
-private ForecastWeatherData.Forecast.Wind
-wind
-
-
@@ -357,102 +304,6 @@ extends
ForecastWeatherData.Forecast(org.json.JSONObject jsonObj)
-
diff --git a/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.html b/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.html
index a45dc10..1644859 100644
--- a/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.html
+++ b/javadoc/net/aksingh/java/api/owm/ForecastWeatherData.html
@@ -2,16 +2,16 @@
-
+
-
-
Field Detail
-
-
-
-
-
-
-
-
-JSON_SYS
-private final java.lang.String JSON_SYS
-
-
-
-
-
-
-JSON_DATE_TIME_TEXT
-private final java.lang.String JSON_DATE_TIME_TEXT
-Date time text
-
-
-
-
-
-dateTimeText
-private final java.lang.String dateTimeText
-
-
-
-
-
-clouds
-private final ForecastWeatherData.Forecast.Clouds clouds
-
-
-
-
-
-main
-private final ForecastWeatherData.Forecast.Main main
-
-
-
-
-
-sys
-private final ForecastWeatherData.Forecast.Sys sys
-
-
-
-
-
-wind
-private final ForecastWeatherData.Forecast.Wind wind
-
-
-
-
-
-weatherList
-private final java.util.List<ForecastWeatherData.Forecast.Weather> weatherList
-
-
-weatherListCount
-private final int weatherListCount
-
@@ -628,13 +481,13 @@ extends
+
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
@@ -483,8 +335,9 @@ extends Parameterized constructor
-
- Initializes variables from values from the given JSON object.
+ jsonObj
- JSON object containing data about forecasts
public class ForecastWeatherData
extends java.lang.Object
-has
and get
methods
- to access the information.
-
- has
methods can be used to check
- if the data exists, i.e., if the data was available (successfully
- downloaded) and was parsed correctly.
-
- get
methods can be used to access the data, if the data
- exists, otherwise get
methods will give value as per
- following basis:
+has
and get
methods to access the information.
+ has
methods can be used to check if the data exists, i.e., if
+ the data was available (successfully downloaded) and was parsed correctly.
+ get
methods can be used to access the data, if the data exists,
+ otherwise get
methods will give value as per following
+ basis:
Boolean: false
Integral: Minimum value (MIN_VALUE)
Floating point: Not a number (NaN)
Objects: Data initialized with default/non-parameterized constructor
- Others: null
null
+
static class
ForecastWeatherData.City
-
-
-static class
-ForecastWeatherData.Forecast
-
-
@@ -614,13 +413,13 @@ extends java.lang.Object
diff --git a/javadoc/net/aksingh/java/api/owm/OpenWeatherMap.OWM_Response.html b/javadoc/net/aksingh/java/api/owm/OpenWeatherMap.OWM_Response.html
index 6ff51e9..78861ba 100644
--- a/javadoc/net/aksingh/java/api/owm/OpenWeatherMap.OWM_Response.html
+++ b/javadoc/net/aksingh/java/api/owm/OpenWeatherMap.OWM_Response.html
@@ -2,16 +2,16 @@
-
+
-Field Summary
-
-
@@ -248,9 +170,7 @@ extends java.lang.Object
-
-Modifier and Type
-Field and Description
-
-
-
-private ForecastWeatherData.City
-city
-
-
-private java.util.List<ForecastWeatherData.Forecast>
-forecastList
-
-
-
-private int
-forecastListCount
-
-
-
-private java.lang.String
-JSON_CITY
-
-
-
-private java.lang.String
-JSON_FORECAST_LIST
-
-
-
-private java.lang.String
-JSON_RESPONSE_CODE
-Response code
-
-
-private java.lang.String
-JSON_RESPONSE_FORECAST_COUNT
-Forecast count
-
-
-private java.lang.String
-JSON_RESPONSE_TIME
-Response time
-
-
-private java.lang.String
-responseCode
-
-
-
-private int
-responseForecastCount
-
-
-private float
responseTime
-
@@ -324,128 +244,6 @@ extends java.lang.Object
ForecastWeatherData(org.json.JSONObject jsonObj)
-
-
Field Detail
-
-
-
-
-
-
-
-
-JSON_CITY
-private final java.lang.String JSON_CITY
-
-
-
-
-
-
-JSON_FORECAST_LIST
-private final java.lang.String JSON_FORECAST_LIST
-
-
-
-
-
-
-JSON_RESPONSE_CODE
-private final java.lang.String JSON_RESPONSE_CODE
-Response code
-
-
-
-
-
-JSON_RESPONSE_TIME
-private final java.lang.String JSON_RESPONSE_TIME
-Response time
-
-
-
-
-
-JSON_RESPONSE_FORECAST_COUNT
-private final java.lang.String JSON_RESPONSE_FORECAST_COUNT
-Forecast count
-
-
-
-
-
-responseCode
-private final java.lang.String responseCode
-
-
-
-
-
-responseTime
-private final float responseTime
-
-
-
-
-
-responseForecastCount
-private final int responseForecastCount
-
-
-
-
-
-city
-private final ForecastWeatherData.City city
-
-
-
-
-
-forecastList
-private final java.util.List<ForecastWeatherData.Forecast> forecastList
-
-
-forecastListCount
-private final int forecastListCount
-jsonObj
- JSON object containing data about clouds
-
Field Summary
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-private java.lang.String
-OWM_APPID_VALUE
-
-
-private java.lang.String
-OWM_MODE_VALUE
-
-
-private java.lang.String
-OWM_UNITS_VALUE
-
Field Detail
-
-
-
-
-
-
-
-
-OWM_MODE_VALUE
-private final java.lang.String OWM_MODE_VALUE
-
-
-
-
-
-OWM_UNITS_VALUE
-private final java.lang.String OWM_UNITS_VALUE
-
-
-OWM_APPID_VALUE
-private final java.lang.String OWM_APPID_VALUE
-
Field Summary
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-private java.lang.String
-value
diff --git a/javadoc/net/aksingh/java/api/owm/OpenWeatherMap.html b/javadoc/net/aksingh/java/api/owm/OpenWeatherMap.html
index 12dba28..adf3f83 100644
--- a/javadoc/net/aksingh/java/api/owm/OpenWeatherMap.html
+++ b/javadoc/net/aksingh/java/api/owm/OpenWeatherMap.html
@@ -2,16 +2,16 @@
-
+
-
public class OpenWeatherMap
extends java.lang.Object
-
-
Field Summary
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-private OpenWeatherMap.OWM_Response
-owmResponse
-
-
Field Detail
-
-
-
-
-
-owmResponse
-private final OpenWeatherMap.OWM_Response owmResponse
-
public static class Tools.Convertor
extends java.lang.Object
-convertDegree2Direction
public java.lang.String convertDegree2Direction(float degree)
throws java.lang.IllegalArgumentException
-degree
- java.lang.IllegalArgumentException
- Degree should be between 0 and 360.public static class Tools.Downloader
extends java.lang.Object
-public static java.lang.String downloadPage(java.lang.String pageAddress)
throws java.net.MalformedURLException,
java.io.IOException
-pageAddress
.
-
- pageAddress
should be a correct URL, else
- this method will throw MalformedURLException
.
@@ -238,7 +245,7 @@ extends java.lang.Object
pageAddress
- Address of the web page to get from the Internet.pageAddress
.
+ pageAddress
should be a correct URL, else this
+ method will throw MalformedURLException
.
+
+pageAddress
- Address of the web page to get from the Internet.
+ java.net.MalformedURLException
- Address of the web page is not correct.java.io.IOException
- Error while loading the page from the Internet or connection
- got disconnected.java.net.MalformedURLException
- Address of the web page is not correct.
+ java.io.IOException
- Error while loading the page from the
+ Internet or connection got
+ disconnected.public class Tools
extends java.lang.Object
-static
sub-classes which provide various
- related tools, i.e., this class only behaves as the container for those
- classes.static
sub-classes which provide various related tools, i.e.,
+ this class only behaves as the container for those classes.
+
@@ -142,13 +143,6 @@ extends java.lang.Object
-
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Clouds.html b/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Clouds.html
index fb461a9..94352bd 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Clouds.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Clouds.html
@@ -2,16 +2,16 @@
-
+
-
-static class
-Tools.HTML
-
static class
CurrentWeatherData.Clouds
-
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Coord.html b/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Coord.html
index 43c8ed8..d6d1d45 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Coord.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Coord.html
@@ -2,16 +2,16 @@
-
+
-static class
ForecastWeatherData.Forecast.Clouds
-
static class
CurrentWeatherData.Coord
-
static class
DailyForecastData.City.Coord
-
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Main.html b/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Main.html
index 62037a9..9afef65 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Main.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Main.html
@@ -2,16 +2,16 @@
-
+
-static class
ForecastWeatherData.City.Coord
-
static class
CurrentWeatherData.Main
-
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Weather.html b/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Weather.html
index f6da4c7..57f0da7 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Weather.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Weather.html
@@ -2,16 +2,16 @@
-
+
-static class
ForecastWeatherData.Forecast.Main
-
static class
DailyForecastData.Forecast.Weather
-
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Wind.html b/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Wind.html
index bf598db..e788f0b 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Wind.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.Wind.html
@@ -2,16 +2,16 @@
-
+
-static class
ForecastWeatherData.Forecast.Weather
-
static class
CurrentWeatherData.Wind
-
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.html b/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.html
index 5839d98..6a423c5 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/AbstractWeatherData.html
@@ -2,16 +2,16 @@
-
+
-static class
ForecastWeatherData.Forecast.Wind
-
class
CurrentWeatherData
-
static class
DailyForecastData.Forecast
-
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Clouds.html b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Clouds.html
index 1a0634a..aa17b0f 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Clouds.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Clouds.html
@@ -2,16 +2,16 @@
-
+
-static class
ForecastWeatherData.Forecast
-Uses of CurrentWeatherData.Clouds in net.aksingh.java.api.owm
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-
-private CurrentWeatherData.Clouds
CurrentWeatherData.
-clouds
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Coord.html b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Coord.html
index ef174cf..e65f94c 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Coord.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Coord.html
@@ -2,16 +2,16 @@
-
+
- Uses of CurrentWeatherData.Coord in net.aksingh.java.api.owm
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-
-private CurrentWeatherData.Coord
CurrentWeatherData.
-coord
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Main.html b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Main.html
index 4a8ed56..db5122e 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Main.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Main.html
@@ -2,16 +2,16 @@
-
+
- Uses of CurrentWeatherData.Main in net.aksingh.java.api.owm
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-
-private CurrentWeatherData.Main
CurrentWeatherData.
-main
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Rain.html b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Rain.html
index ed1c63a..5df63db 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Rain.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Rain.html
@@ -2,16 +2,16 @@
-
+
- Uses of CurrentWeatherData.Rain in net.aksingh.java.api.owm
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-
-private CurrentWeatherData.Rain
CurrentWeatherData.
-rain
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Sys.html b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Sys.html
index d662b72..b26ee54 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Sys.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Sys.html
@@ -2,16 +2,16 @@
-
+
- Uses of CurrentWeatherData.Sys in net.aksingh.java.api.owm
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-
-private CurrentWeatherData.Sys
CurrentWeatherData.
-sys
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Weather.html b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Weather.html
index 147caac..14b39c8 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Weather.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Weather.html
@@ -2,16 +2,16 @@
-
+
- Uses of CurrentWeatherData.Weather in net.aksingh.java.api.owm
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-
-private java.util.List<CurrentWeatherData.Weather>
CurrentWeatherData.
-weatherList
-
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Wind.html b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Wind.html
index a2e6e13..491d432 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Wind.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.Wind.html
@@ -2,16 +2,16 @@
-
+
- Uses of CurrentWeatherData.Wind in net.aksingh.java.api.owm
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-
-private CurrentWeatherData.Wind
CurrentWeatherData.
-wind
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.html b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.html
index 571a3ee..fa196ea 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/CurrentWeatherData.html
@@ -2,16 +2,16 @@
-
+
- Uses of DailyForecastData.City.Coord in net.aksingh.java.api.owm
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-
-private DailyForecastData.City.Coord
DailyForecastData.City.
-coord
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.City.html b/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.City.html
index a6b41a5..59d3806 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.City.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.City.html
@@ -2,16 +2,16 @@
-
+
- Uses of DailyForecastData.City in net.aksingh.java.api.owm
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-
-private DailyForecastData.City
DailyForecastData.
-city
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.Forecast.Temperature.html b/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.Forecast.Temperature.html
index 1560fff..83019f9 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.Forecast.Temperature.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.Forecast.Temperature.html
@@ -2,16 +2,16 @@
-
+
- Uses of DailyForecastData.Forecast.Temperature in net.aksingh.java.api.owm
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-
-private DailyForecastData.Forecast.Temperature
DailyForecastData.Forecast.
-temp
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.Forecast.Weather.html b/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.Forecast.Weather.html
index fec4dcf..844c200 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.Forecast.Weather.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.Forecast.Weather.html
@@ -2,16 +2,16 @@
-
+
- Uses of DailyForecastData.Forecast.Weather in net.aksingh.java.api.owm
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-
-private java.util.List<DailyForecastData.Forecast.Weather>
DailyForecastData.Forecast.
-weatherList
-
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.Forecast.html b/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.Forecast.html
index 2ed7396..692840a 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.Forecast.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.Forecast.html
@@ -2,16 +2,16 @@
-
+
- Uses of DailyForecastData.Forecast in net.aksingh.java.api.owm
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-
-private java.util.List<DailyForecastData.Forecast>
DailyForecastData.
-forecastList
-
diff --git a/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.html b/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.html
index d196950..b2e3679 100644
--- a/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.html
+++ b/javadoc/net/aksingh/java/api/owm/class-use/DailyForecastData.html
@@ -2,16 +2,16 @@
-
+
- Uses of ForecastWeatherData.City.Coord in net.aksingh.java.api.owm
-
-
-
-
-Modifier and Type
-Field and Description
-
-
-
-
-private ForecastWeatherData.City.Coord
ForecastWeatherData.City.
-coord